Git - remote branch invisible to local repo, fetch isn't helping -


i have personal git repo on server ("server repo"). cannot see branch on central remote repo ("origin") pushed personal git repo on computer ("personal repo").

server repo (personal repository):

$ git branch -a * master   remotes/origin/master 

origin (central repository):

$ git branch -a * master   update 

personal repo (personal repository):

$ git branch -a * update   master   remotes/origin/head -> origin/master   remotes/origin/master   remotes/origin/update   

on server repo, i've tried $ git fetch --all fetching origin no results.

$ git fetch -v --all yields:

fetching origin  = [up date] master -> origin/master 

i've never seen issue before. i'm having lot of issues searching problem because git fetch issues seem assume user doing wrong. far can tell, git failing recognize remote branches , don't know it.

i've re-cloned origin new folder , branches appear expected then. i'm not sure re-cloning repo origin work properly. have verified in server repo remote origin in fact correct , has correct path (it's absolute path on same machine).

git checkout --track origin/update 

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -