当使用git进行操作:

git checkout -b local-name origin/remote-name

出现错误:

fatal: git checkout: updating paths is incompatible with switching branches.
Did you intend to checkout 'origin/remote-name' which can not be resolved as commit?

解决办法:

git remote show origin

git remote update

git fetch

git checkout -b local-name origin/remote-name

http://www.cnblogs.com/iminic/p/4398265.html

相关文章:

  • 2022-12-23
  • 2021-12-15
  • 2022-12-23
  • 2022-12-23
  • 2021-06-09
  • 2021-07-27
  • 2022-01-14
  • 2021-07-24
猜你喜欢
  • 2021-09-06
  • 2022-12-23
  • 2022-12-23
  • 2021-08-10
  • 2022-12-23
  • 2022-12-23
  • 2021-11-03
相关资源
相似解决方案