You either need to tell git pull what branch to pull, or use git fetch and git merge instead. I'd recommend fetch/merge along with gitx or gitk --all to visualize your branch tree.
On Thu, Apr 9, 2009 at 11:25 AM, Nic Hubbard <[email protected]> wrote: > > I have some confused here about how to use git branches on two > different computers. > > I obviously have my files on github, and I work on my project at both > locations. So, at my work computer I make changes, add, commit, then > push them. They show up on git hub. But, when I go home, and do git > pull, I don't get the new copy of my branch that is on the server. > > How can I sync both locations so that they are identical? So that I > can push and pull on both computers, and always get the newest version > of github? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GitHub" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/github?hl=en -~----------~----~----~----~------~----~------~--~---
