-4

why on earth i see this ??

Aborting commit due to empty commit message.

  • Possible duplicate of [Aborting commit due to empty commit message](https://stackoverflow.com/questions/9725160/aborting-commit-due-to-empty-commit-message) – Julian Zucker Mar 03 '18 at 14:47

2 Answers2

1

I think that you have some problems in your git configs(see core.editor), but you can do these:

You can add commit message by putting it after -m:

git commit -a -m"This is my commit message"

Or you can ignore the message by passing --allow-empty-message e.g.

git commit -a --allow-empty-message

Good Luck

0

I had the same problem and I tried this and problem solved :

git config --global core.editor "C:/Users/USERNAME/AppData/Local/atom/bin/atom.cmd -w"

replace USERNAME with yours in your pc

https://help.github.com/articles/associating-text-editors-with-git/