emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removing rollback from VC mode - request for comment


From: Eli Zaretskii
Subject: Re: Removing rollback from VC mode - request for comment
Date: Thu, 11 Dec 2014 20:16:07 +0200

> From: Steinar Bang <address@hidden>
> Date: Thu, 11 Dec 2014 18:12:29 +0100
> 
> >>>>> Eli Zaretskii <address@hidden>:
> 
> > ??? It's known as "reverse cherry-picking", and is AFAIK possible in
> > Git, bzr, and hg.
> 
> Do you mean yank a commit from somewhere back in history, keeping the
> newer one?

You don't yank it -- history is immutable -- you undo it by another
commit.

> But I would use "git revert" for something like this instead, adding a
> commit, rather than removing one, and keeping all of the existing
> commits' sha1 values.

That's the mechanics.  From the human's POV, the commit was "removed".



reply via email to

[Prev in Thread] Current Thread [Next in Thread]