git 切换分支,报错 use -- (and optionally --no-guess) to disambiguate

原因:git branch   abc  命令发生冲突。存在abc的文件,git无法区分abc是文件还是分支

解决:使用  `git switch  <分支名称>`  切换分支

原文地址:https://www.cnblogs.com/staff/p/14843264.html