来自 bash 运行 git 命令时的不相关警告
Irrelevant warning while running git command from bash
当我从 bash 执行 git 命令(例如 git push origin master
)时,我看到一些警告作为 -
git: 'credential---help' is not a git command. See 'git --help'.
来自日志的更多详细信息:
$ git push origin xxx --force
git: 'credential---help' is not a git command. See 'git --help'.
Enumerating objects: 71, done.
Counting objects: 100% (71/71), done.
Delta compression using up to 8 threads.
Compressing objects: 100% (37/37), done.
Writing objects: 100% (44/44), 22.86 KiB | 668.00 KiB/s, done.
Total 44 (delta 26), reused 0 (delta 0)
remote:
...
然后命令执行成功。
我无法理解为什么会出现此错误以及如何消除它。
您的本地计算机上的凭据助手配置似乎有问题。查看 git config --list | grep credential
的输出以找到相关的配置选项。
您可以找到有关 Git 凭据支持的文档 here。
当我从 bash 执行 git 命令(例如 git push origin master
)时,我看到一些警告作为 -
git: 'credential---help' is not a git command. See 'git --help'.
来自日志的更多详细信息:
$ git push origin xxx --force
git: 'credential---help' is not a git command. See 'git --help'.
Enumerating objects: 71, done.
Counting objects: 100% (71/71), done.
Delta compression using up to 8 threads.
Compressing objects: 100% (37/37), done.
Writing objects: 100% (44/44), 22.86 KiB | 668.00 KiB/s, done.
Total 44 (delta 26), reused 0 (delta 0)
remote:
...
然后命令执行成功。
我无法理解为什么会出现此错误以及如何消除它。
您的本地计算机上的凭据助手配置似乎有问题。查看 git config --list | grep credential
的输出以找到相关的配置选项。
您可以找到有关 Git 凭据支持的文档 here。