I was walking through using a standard git rebase
with a new coworker who had a fairly fresh install of Git, and noticed that when he attempted to begin the rebase, Git notified him that he was running in interactive mode using 'pick'.
When attempting to --continue
and complete the rebase, it asked for a commit message, which is what we wanted to avoid.
I was able to rebase in standard mode on my own machine without issue. Does anyone know why my coworker's machine is starting in interactive mode, even though he's not using the -i
flag?
CodePudding user response:
The coworker should back out with git rebase --abort
if there's any doubt of the right thing happening.
As for why Git would enter interactive mode if not asked:
It's possible that the coworker did ask for interactive rebase (though if you were screen sharing one would think you would notice this).
Check the coworker's config file for the word
rebase
withinteractive
settings (or justi
), or for some sort of alias that might be messing things up. It is possible to cause the config file to render a rebase interactive by default under certain circumstances.