Re: git interactive rebase 'consume' command
- From
- Stephen Kelly <steveire@gmail.com>
- Date
- Jan 20, 2013, 19:13 UTC
- Message-ID
- <kdhfk6$von$1@ger.gmane.org>
- In-Reply-To
- <7vk3r7llod.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
> Sorry, but I do not understand what you are trying to solve. > > How can 1313a5e, which fixes misakes made in c2f62a3, come before > that commit in the first place?
One scenario is something like this:
Start with a clean HEAD (always a good idea :) ) hack hack hack make multiple commits realize that a hunk you committed in an early patch belongs in a later one. use git rebase -i to fix it.
Is that more clear?
Thanks,
Steve.