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