【问题标题】:'credential-manager' is not a git command'credential-manager' 不是 git 命令
【发布时间】: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,它应该会要求用户名和密码/令牌一次。

标签: git credential-manager


【解决方案1】:

这个命令“git config --global credential.helper manager-core works”适合我。

【讨论】:

    猜你喜欢
    • 2021-11-01
    • 2017-01-23
    • 2023-03-20
    • 2018-10-29
    • 1970-01-01
    • 2012-11-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多