Git problem with interactive rebase

This is probably because Git expects that the text editor will stop and wait until you have finished editing before continuing. Your text editor could start up in such a way that it appears that it immediately finished as far as Git can see.

You could try setting the EDITOR environment variable to point to a batch file that does something like:

start /wait my_editor %*

(but this is just a guess and I'm not in a situation to test it right now).


I use Atom - and was getting the same problem.

git config --global core.editor "atom --wait"

...fixed it for me straight away.

More info about setting up different code editors can be found here: https://help.github.com/articles/associating-text-editors-with-git/


Solved, related to the editor variable in git-config:

How do I use Notepad++ (or other) with msysgit?

Tags:

Git

Msysgit