macos git: 'credential-wincred' is not a git command. See 'git --help'
865 ワード
解決策:
git config --unset-all credential.helper
git config --global credential.helper osxkeychain
理由:
The problem is that you're trying to use the
Instead, you should run
https://stackoverflow.com/questions/54897023/git-credential-wincred-is-not-a-git-command-see-git-help-on-mac
git config --unset-all credential.helper
git config --global credential.helper osxkeychain
理由:
The problem is that you're trying to use the
wincred
credential helper, which is only available on Windows, on macOS. You mentioned that you've run git config --global credential.helper wincred
, which sets the credential helper to wincred
. When Git tries to invoke it, it fails because it's unavailable. Instead, you should run
git config --unset-all credential.helper
and run git config --global credential.helper osxkeychain
. That will result in you using the macOS Keychain for storing credentials, which will work on macOS. https://stackoverflow.com/questions/54897023/git-credential-wincred-is-not-a-git-command-see-git-help-on-mac