我使用的是Windows 10 64位操作系统,git版本是2.33.1.windows.1,与Azure repos配合使用。自从上次更新后,当我使用最新版本的TortoiseGit v2.13.0.1克隆存储库时,会出现以下错误。
git.exe clone --progress -v "https://FenergoProduct@dev.azure.com/FenergoProduct/FlareDocumentation/_git/FlareFenergoRegulationMargin" "C:\Flare\FlareFenergoRegulationMargin"
Cloning into 'C:\Flare\FlareFenergoRegulationMargin'...
git: 'credential-manager' is not a git command. See 'git --help'.
The most similar command is
credential-manager-core
有人能简单地解释一下如何摆脱这个问题吗?
P.
git config --global credential.helper manager-core
。 - ElpieKay$ git config --global credential.helper manager-core
$ git pull
git: 'credential-manager' is not a git command. See 'git --help'.
最相似的命令是
credential-manager-core
已经是最新的。
- oceanclubgit config --global credential.helper store
命令,它会将用户名和密码/令牌默认存储在~/.git-credentials
文件中。如果您不想使用凭据助手,也可以运行git config --global --unset credential.helper
命令来禁用它。 - ElpieKay