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