Home ›
Git remote branches are different on my local compared to serverGit remote branches are different on my local compared to server
Submitted by Benjamin Melançon on November 27, 2011 - 4:06pm
The local checkout on my computer and the one on the dev server are looking at the same Git repository, but the results of git branch -a (show all remote branches) is very different.
Reason: git pull origin master does not get all the branch and tag information the way git fetch does!
Solution:
git fetch origin
Now git branch -a and git checkout branchicareabout both work.
Searched words:
git remote branches out of date


Comments
Post new comment