Skip to content

Commit 725fe6e

Browse files
authored
Merge pull request #1794 from mavaddat/patch-1
Update instructions for Windows GCM (now mergeable)
2 parents 39c07b8 + 3a18e4e commit 725fe6e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

book/07-git-tools/sections/credentials.asc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ Git has a few options provided in the box:
1919
The downside of this approach is that your passwords are stored in cleartext in a plain file in your home directory.
2020
* If you're using a Mac, Git comes with an "`osxkeychain`" mode, which caches credentials in the secure keychain that's attached to your system account.
2121
This method stores the credentials on disk, and they never expire, but they're encrypted with the same system that stores HTTPS certificates and Safari auto-fills.
22-
* If you're using Windows, macOS, or Linux, you can install a helper called https://github.com/GitCredentialManager/git-credential-manager["`Git Credential Manager`"^].
23-
This uses platform-native data stores to control sensitive information.
22+
* If you're using Windows, you can enable the *Git Credential Manager* feature when installing https://gitforwindows.org/[Git for Windows] or separately install https://github.com/GitCredentialManager/git-credential-manager/releases/latest[the latest GCM] as a standalone service.
23+
This is similar to the "`osxkeychain`" helper described above, but uses the Windows Credential Store to control sensitive information.
24+
It can also serve credentials to WSL1 or WSL2. See https://github.com/GitCredentialManager/git-credential-manager#windows[GCM Install Instructions] for more information.
2425

2526
You can choose one of these methods by setting a Git configuration value:
2627

0 commit comments

Comments
 (0)