git credential helper documentation update
The most-current macOS version is greater than 12 (15 at time of this change). Expand Windows suggestions to include variations specific to MSYS2 and WSL2.
This commit is contained in:
@@ -65,10 +65,8 @@ A. If you have never set up git on this machine before:
|
|||||||
git config --global user.name "MY NAME"
|
git config --global user.name "MY NAME"
|
||||||
git config --global user.email USER@EXAMPLE.COM
|
git config --global user.email USER@EXAMPLE.COM
|
||||||
You probably want to set up a credential cache.
|
You probably want to set up a credential cache.
|
||||||
macOS (10 - 12):
|
macOS (10 or greater):
|
||||||
git config --global credential.helper osxkeychain
|
git config --global credential.helper osxkeychain
|
||||||
Windows:
|
|
||||||
git config --global credential.helper store
|
|
||||||
Linux:
|
Linux:
|
||||||
(This will vary by distribution.)
|
(This will vary by distribution.)
|
||||||
cd /usr/share/doc/git/contrib/credentail/libsecret
|
cd /usr/share/doc/git/contrib/credentail/libsecret
|
||||||
@@ -78,7 +76,13 @@ A. If you have never set up git on this machine before:
|
|||||||
OR
|
OR
|
||||||
sudo yum install git-credential-libsecret
|
sudo yum install git-credential-libsecret
|
||||||
git config --global credential.helper /usr/libexec/git-core/git-credential-libsecret
|
git config --global credential.helper /usr/libexec/git-core/git-credential-libsecret
|
||||||
|
Windows: (The following three assume that Git for Windows is already installed on
|
||||||
|
the underlying Windows system https://git-scm.com/download/win):
|
||||||
|
git config --global credential.helper store
|
||||||
|
MSYS2 UCRT64 bash shell:
|
||||||
|
git config --global credential.helper "/c/Program\ Files/Git/mingw64/bin/git-credential-manager.exe"
|
||||||
|
Windows Subsystem for Linux 2 (WSL2) bash shell:
|
||||||
|
git config --global credential.helper "/mnt/c/Program\ Files/Git/mingw64/bin/git-credential-manager.exe"
|
||||||
B. Specify the prefix for variable substitution:
|
B. Specify the prefix for variable substitution:
|
||||||
(This assumes you are not a member of DevTeam or any variant's development
|
(This assumes you are not a member of DevTeam or any variant's development
|
||||||
team. If you are, this may be wrong. Look for more specific documentation.
|
team. If you are, this may be wrong. Look for more specific documentation.
|
||||||
|
|||||||
Reference in New Issue
Block a user