On Mon, Jun 7, 2010 at 14:48, Trans <transf...@gmail.com> wrote:
> On Jun 7, 5:31 pm, Jacob Helwig <jacob.hel...@gmail.com> wrote:
>> You're probably best off reverting the commit(s) that brought in the
>> changes you don't want, before merging in your changes.  Your merge
>> will then be able to go forward as though the other changes had never
>> happened.
> Ok thanks. So I should move my changes into a separate branch, pull
> down his, then revert to where my branch diverged from his and then
> merge my branch. Cool. Only one last question, what's command do you
> use to reverting to a prior state?

For the method I'm suggesting, it's `git revert $commit-sha1`, you'll
need to do it for each commit that you want to get rid of.

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-us...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to