【发布时间】:2022-07-06 06:56:29
【问题描述】:
我在 Windows 10 64 位上运行 git 版本 2.33.1.windows.1 针对 Azure 存储库。自上次更新以来,我在使用 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。 -
谢谢 - 不幸的是这似乎不起作用(注意命令没有给出任何输出):
$ git config --global credential.helper manager-core$ git pullgit: 'credential-manager' is not a git command. See 'git --help'.The most similar command is`credential-manager-core`@ 987654327@ -
您的 Windows 凭据管理器似乎有问题。试试
git config --global credential.helper store。默认情况下,它将用户名和密码/令牌存储在~/.git-credentials中。如果您不想要凭证助手,也可以运行git config --global --unset credential.helper来禁用它。 -
当我运行“git config --global credential.helper store”时没有得到任何输出,我应该看到什么?
-
它不打印任何东西。试试
git clone,它应该会要求用户名和密码/令牌一次。