From: Duy Nguyen Date: Thu, 25 Jan 2018 12:13:58 GMT Subject: Bug, git rebase -i does not abort correctly Message-ID: rebase scripts are too much for me, so I'll play the user reporting bugs this time :) Instead of doing $ git rebase -i --onto origin/master @~3 I sometimes accidentally type $ git rebase -i origin/master @~3 ("rebase -i" is actually an alias, which is why I never forget to type -i) Usually the todo list in $EDITOR shows noop, I realize my mistake and try to abort it by clearing the todo list before saving and closing $EDITOR. The problem is, HEAD is moved away anyway (to origin/master I think) even if rebase is supposed to abort the operation and leave HEAD untouched. -- Duy