Thanks Luuk,
This answers my question.

- Eric

On Apr 23, 12:58 am, Luuk Paulussen <luuk.paulus...@gmail.com> wrote:
> Hi Eric,
> You should be able to do:
>
> git fetch origin  #This should fetch all remote refs, including the
> remote origin/dij without updating anything locally.
> git checkout -b dij origin/dij  #this will create a local branch
> called dij to track origin/dij
>
> To reverse the effects of your initial pull, you might want to do:
> git checkout master
> git reset --hard origin/master  #nb, this will destroy any local
> changes to origin master.
>
> git pull basically does a git fetch followed by a git merge, which is
> not really what you wanted.  Once you have done the above, you should
> be able to do "git pull origin" on any branch to update that branch.
>
> Cheers,
> Luuk
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to