git - Trying to link a local repo to a remote. Can't see the branches when I run 'branch -a' though -


git init (make commits) git remote add origin someexistingrepo git fetch origin git branch -a 

i expect show local master branches in someexistingrepo, shows local master. why? i've gotten work runing ls-remote, want local repo behave every other repo i've ever worked with. there reason don't see other branches? there can do?


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -