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?
> $ git checkout mybranch
> $ git reset --hard origin mybranch
I assume you really meant
$ git reset --hard origin/mybranch
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 email@example.com.
To unsubscribe from this group, send email to
For more options, visit this group at