git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git rebase -i does not rebase if all lines are removed
@ 2012-07-17 10:46 Orgad and Raizel Shaneh
  2012-07-17 10:55 ` Carlos Martín Nieto
  0 siblings, 1 reply; 3+ messages in thread
From: Orgad and Raizel Shaneh @ 2012-07-17 10:46 UTC (permalink / raw)
  To: git

Make a commit on top of master.

git rebase -i origin/master

Remove the commit.

Git prints "Nothing to do" and does not rebase.

Running 'git rebase -i' when there are no local commits has 'noop' in
the first line, and with it the rebase is successful. Why is this
'noop' mandatory?

- Orgad

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

end of thread, other threads:[~2012-07-17 12:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-17 10:46 git rebase -i does not rebase if all lines are removed Orgad and Raizel Shaneh
2012-07-17 10:55 ` Carlos Martín Nieto
2012-07-17 12:25   ` Johannes Sixt

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