Re: git rebase --interactive squash/squish/fold/rollup
- From
Paolo Bonzini <paolo.bonzini@gmail.com>
- Date
- Jun 17, 2009, 16:48 UTC
- Message-ID
- <4A391E63.6000206@gmail.com>
- In-Reply-To
- <7vvdmurfao.fsf@alter.siamese.dyndns.org>
> 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.
One way could be to have arguments to squash in a way that was proposed for the sequencer GSOC project last year. For example,
commit 123456 squash -C HEAD abcdef
would just proceed with the commit of HEAD, and since squash is basically apply-to-index + commit, the HEAD would still be 123456.
Paolo