0

I am trying to commit all changes to my latest repo using

git commit -a

I have edited global configurations to use notepad++ rather than vim

git config --global core.editor "'C:\Program Files (x86)Notepad++\notepad++.exe' -m"

Now, when I try to commit using the first mentioned command, notepad++ will open the COMMIT_EDITMSG file, but the bash shell says "Aborting commit due to empty commit message", then returns to the prompt.

I would simply like to be able to use notepad++ to edit this file and still do the commit without it cancelling it.

Any help is greatly appreciated.

Matt
  • 5,408
  • 14
  • 52
  • 79

0 Answers0