On Wed, Feb 23, 2011 at 12:22:50PM -0800, Mark Liversedge wrote:

> If this is easy peasy then my apologies. is it possible to reset a
> tracking branch to its origin without affecting other local branches?
> i.e.
> $ git checkout mybranch
> $ git reset --hard origin mybranch
I assume you really meant 
$ git reset --hard origin/mybranch
did you?

If so, your sequence would only reset "mybranch" and only it.
git-reset is incapable of resetting anything other than HEAD.

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 
For more options, visit this group at 

Reply via email to