Git Error: fatal: Cannot setup tracking information; starting point 'origin/bb' is not a branch.


 

 

Causation:

 

Your origin remote is set up to fetch only certain branches

git remote set-branches --add origin bb git remote set-branches origin '*'

 

It is because that your repo contains config that asks fetch command to retrieve only some specific branch(es) instead of just all of them. You can check the configuration you have using 

git config --local --get-all remote.origin.fetch

 

git remote -v update origin
git rev-parse --symbolic-full-name origin/bb

 


免责声明!

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



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