Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

git rebase -i does not rebase if all lines are removed

From: Orgad and Raizel Shaneh <hidden>
Date: 2016-06-15 22:54:16

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help