git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to reorder commits
@ 2009-07-20 15:07 Rustom Mody
  2009-07-20 15:37 ` Santi Béjar
  2009-07-20 21:27 ` Daniel Barkalow
  0 siblings, 2 replies; 6+ messages in thread
From: Rustom Mody @ 2009-07-20 15:07 UTC (permalink / raw)
  To: git

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 ??

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-07-21  7:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-20 15:07 how to reorder commits Rustom Mody
2009-07-20 15:37 ` Santi Béjar
2009-07-20 16:01   ` Rustom Mody
2009-07-20 16:16     ` Santi Béjar
     [not found]       ` <873a8r132o.fsf@krank.kagedal.org>
2009-07-21  7:53         ` Rustom Mody
2009-07-20 21:27 ` Daniel Barkalow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).