From 7dfb57ac2e54605c2bbe3bd25ea074ed60cc602d Mon Sep 17 00:00:00 2001 From: nhmall Date: Sun, 1 Sep 2024 09:31:35 -0400 Subject: [PATCH] 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. --- DEVEL/Developer.txt | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/DEVEL/Developer.txt b/DEVEL/Developer.txt index 61ba15f94..c7d7683c9 100644 --- a/DEVEL/Developer.txt +++ b/DEVEL/Developer.txt @@ -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.