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:
nhmall
2024-09-01 09:31:35 -04:00
parent 4415fc2154
commit 7dfb57ac2e

View File

@@ -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.email USER@EXAMPLE.COM
You probably want to set up a credential cache.
macOS (10 - 12):
macOS (10 or greater):
git config --global credential.helper osxkeychain
Windows:
git config --global credential.helper store
Linux:
(This will vary by distribution.)
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
sudo yum install 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:
(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.