git 切换分支,报错 use -- (and optionally --no-guess) to disambiguate
Posted 要一直走下去
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了git 切换分支,报错 use -- (and optionally --no-guess) to disambiguate相关的知识,希望对你有一定的参考价值。
原因:git branch abc 命令发生冲突。存在abc的文件,git无法区分abc是文件还是分支
解决:使用 `git switch <分支名称>` 切换分支
以上是关于git 切换分支,报错 use -- (and optionally --no-guess) to disambiguate的主要内容,如果未能解决你的问题,请参考以下文章