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 就行了。
记录一下,方便迷惘的后来者。

你可能感兴趣的:(git,github)