git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to reorder all commits include the initial commit
@ 2012-03-17 13:15 이응준
  2012-03-17 14:06 ` David Barr
  2012-03-17 14:26 ` Jakub Narebski
  0 siblings, 2 replies; 6+ messages in thread
From: 이응준 @ 2012-03-17 13:15 UTC (permalink / raw)
  To: git

Sometimes, I need to reorder all commits, which include the initial
commit, in my branch.
So I tried it using git-rebase as follows, but it failed with the fatal error.

(supposing the initial commit is 793ea88)
$ git rebase -i 793ea88^
fatal: Needed a single revision
invalid upstream 793ea88^

How can I do that?

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

end of thread, other threads:[~2012-03-18 19:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-17 13:15 How to reorder all commits include the initial commit 이응준
2012-03-17 14:06 ` David Barr
2012-03-17 14:26 ` Jakub Narebski
2012-03-17 19:45   ` Yi, EungJun
2012-03-18  2:58     ` Jiang Xin
2012-03-18 19:05       ` Yi, EungJun

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).