I'd like git rebase to never continue if there are new/untracked files.
Sometimes, during an interactive rebase, I run:
exec git undo --soft
(git undo
is from tj's git-extras)
However, sometimes the commit I want to edit, simply adds new files.
In this situation, the exec git undo --soft
will not pause rebase.
My commit I want to edit, will have effectively disappeared, the rebase will finish, and then.. the rebase completes, and I have the untracked files just sitting in my working directory.
Is there a way to configure git rebase to not simply continue when there are untracked files?