growilabs/growi-docs

「開発環境の構築」において、credential helper のパスが Git v2.36.1 未満のパスになっている

Closed this issue · 1 comments

開発環境の構築」-「Git のインストール」-「設定」において、# Windows の場合は、WSL 内から更にホストPCの credential helper を参照する設定を行うのコマンドが、

git config --global credential.helper "/mnt/c/Program\ Files/Git/mingw64/bin/git-credential-manager-core.exe"

になっていますが、新しいバージョンの Git ではパスが異なっているようです。

インストールされている GIT が >= v2.39.0 の場合

git config --global credential.helper "/mnt/c/Program\ Files/Git/mingw64/bin/git-credential-manager.exe"

またはインストールされている GIT が >= v2.36.1 の場合

git config --global credential.helper "/mnt/c/Program\ Files/Git/mingw64/libexec/git-core/git-credential-manager.exe"

参考リンク

WSL で Git の使用を開始する | Microsoft Learn

ご指摘ありがとうございます。修正しました!