Git报错:Git failed with a fatal error. Git failed with a fatal error. Need to specify how to reconcile

以下是报错内容:

git: ‘credential-manager’ is not a git command. See ‘git --help’.
The most similar command is
credential-manager-core
Hint: You have divergent branches and need to specify how to reconcile them.
Hint: You can do so by running one of the following commands sometime before
Hint: your next pull:
Hint:
Hint: git config pull.rebase false # merge
Hint: git config pull.rebase true # rebase
Hint: git config pull.ff only # fast-forward only
Hint:
Hint: You can replace “git config” with “git config --global” to set a default
Hint: preference for all repositories. You can also pass --rebase, --no-rebase,
Hint: or --ff-only on the command line to override the configured default per
Hint: invocation.
Git failed with a fatal error.
Git failed with a fatal error.
Need to specify how to reconcile divergent branches.

百度翻译一下:
提示:您有不同的分支,需要指定如何协调它们。

提示:您可以在之前的某个时间运行以下命令之一来完成此操作

提示:您的下一次拉动:

提示:

提示:git config pull。rebase false#合并

提示:git config pull。rebase true#rebase

提示:git config pull。仅限ff#仅限快进

提示:

提示:您可以将“git config”替换为“git config–global”,以设置默认值

提示:所有存储库的首选项。您还可以传递–回退,-无回退,

提示:或–ff仅在命令行上覆盖配置的默认值

提示:调用。

Git失败,出现致命错误。

Git失败,出现致命错误。

需要指定如何协调分歧分支。

这个问题是因为Git Bash 文件缺失,重装一下Git Bash 就行了。
记录一下,方便迷惘的后来者。

  • 3
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值