how to reorder commits
- From
- Rustom Mody <rustompmody@gmail.com>
- Date
- Jul 20, 2009, 15:07 UTC
- Message-ID
- <f46c52560907200807heed4bbfkde15cccd2ae8151d@mail.gmail.com>
I have a sequence of commits. I tried to reorder the top two in this way. $ git rebase -i HEAD^^
flip the two pick lines and exit vi
I find my file full of conflict markers. So what is the way of doing: HEAD becomes current HEAD^ HEAD^ becomes current HEAD without having to handle conflicts ??