Using Git Gui Windows - How do you save user credentials - Username and Password

前端 未结 1 1323
滥情空心
滥情空心 2021-01-02 17:33

I know this question has been asked before and I\'ve been looking at this link :

https://www.kernel.org/pub/software/scm/git/docs/git-credential-st

相关标签:
1条回答
  • 2021-01-02 17:35

    One solution is to use the GitHub for Windows application: it will store your credentials for you, as mentioned in this GitHub help page.

    But it also adds:

    If you don't want to use GitHub for Windows, you can download the helper for your OS here:

    Windows Vista, 7, & 8 (.NET 4.0 required)

    Unzip the file and run the git-credential-winstore.exe program inside. This will start up the helper and update your git config to use it.

    Tip: The credential helper only works when you clone an HTTPS repository URL. If you use the SSH repository URL instead, SSH keys are used for authentication.

    So you don't need to create yourself a .git-credentials file: the git-credential-winstore.exe program will guide you through it.

    0 讨论(0)
提交回复
热议问题