Re: git rebase --interactive squash/squish/fold/rollup
- From
Clemens Buchacher <drizzd@aon.at>
- Date
- Jun 17, 2009, 18:20 UTC
- Message-ID
- <20090617182036.GA4500@localhost>
- In-Reply-To
- <7vvdmurfao.fsf@alter.siamese.dyndns.org>
On Wed, Jun 17, 2009 at 09:33:19AM -0700, Junio C Hamano wrote:
> So I can see why a variant of "squash" that does not change (nor even ask > for a replacement of) the commit log message from the one that is being > amended could be useful.
How about deleting the commit message header?
pick c0ffee not to be modified commit message pick 012345 squashme ...
=>
pick c0ffee not to be modified commit message squash 012345 ...
It requires explicit removal the unwanted commit message, avoiding any accidents due to ambiguous keywords.