Re: git-kill: rewrite history removing a commit

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Michael S. Tsirkin <mst@...>
Cc: <git@...>
Date: Wednesday, January 31, 2007 - 4:26 pm

"Michael S. Tsirkin" <mst@mellanox.co.il> writes:


"Do you find this useful" is a loaded question.

I do it all the time with git-rebase, so the need to remove a
botched commit from the history and rebuild the remainder is
certainly there, meaning "what your patch does IS useful".

I do it all the time with git-rebase, so I personally do not
need a new tool to do this, meaning "your patch is not useful to
me".

When I find master~8 and master~9 to be undesirable, I would do:

	$ git rebase --onto master~10 master~8

which rebuilds master~7 and onward on top of master~10, thereby
dropping two commits.

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git-kill: rewrite history removing a commit, Michael S. Tsirkin, (Wed Jan 31, 3:55 pm)
Re: git-kill: rewrite history removing a commit, Junio C Hamano, (Wed Jan 31, 4:26 pm)
Re: git-kill: rewrite history removing a commit, Michael S. Tsirkin, (Wed Jan 31, 4:54 pm)
Re: git-kill: rewrite history removing a commit, Yann Dirson, (Wed Jan 31, 4:22 pm)
Re: git-kill: rewrite history removing a commit, Catalin Marinas, (Thu Feb 1, 8:41 am)