Linux edit commit message automatically aborts


I have tried to set atom to be git’s default editor both with

git config --global core.editor atom -w


 git config --global core.editor atom

But neither seem to work. It will open the commit message window in atom fine but git automatically goes to Aborting commit due to empty commit message.

Ubuntu 14.04
Atom 0.116.0-4960a63


Just out of curiosity, have you tried atom --wait?


Same thing as the other two I’ve tried :frowning:


Weird. I have one other idea, do you have the Autosave package enabled?


Nope, I’m not to sure what is causing it either


Well, then try this:

  1. Exit out of Atom completely
  2. Go to your ~/.atom directory
  3. Rename the packages directory to packages-backup
  4. Try again


Still nothing :confused: Is this issue worthy? Does anyone experience the same problem?


I haven’t heard of anyone running into this issue. @AbeEstrada, do you run Ubuntu? Can you confirm or shed light on this?

@Frozenfire92 you can always file a bug on Atom Core. Perhaps the Atom team has some ideas.



okay has anyone been able to solve this issue. i"m here years later and I can’t get it to work


I’d love input on this too. I just upgraded Ubuntu and now I’m noticing the error with trying to use git commit from the command line to launch Atom to edit the message. I’m using:

  • git version 2.17.1
  • Ubuntu 18.04.1 LTS