Git checkout: updating paths is incompatible with switching branches

后端 未结 11 719
你的背包
你的背包 2020-11-27 08:48

My problem is related to Fatal Git error when switching branch.

I try to fetch a remote branch with the command

git checkout -b local-name origin/rem         


        
11条回答
  •  有刺的猬
    2020-11-27 09:14

    For me I had a typo and my remote branch didn't exist

    Use git branch -a to list remote branches

提交回复
热议问题