Git问题:Cannot update paths and switch to branch 'dev' at the same time.


使用命令 

  1. $ git checkout -b develop origin/develop 签出远程分支,出现以下错误:
    1. fatal: Cannot update paths and switch to branch 'develop' at the same time.  
    2. Did you intend to checkout 'origin/develop' which can not be resolved as commit? 解决方法:先 :$ git fetch  在:git checkout -b develop origin/develop 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM