Had an issue, whilst learning git commands and the helpful www came to my rescue..
Getting this error message anytime I tried to commit a file: “Aborting commit due to empty commit message.”
Found the solution at stackoverflow.com
“I’m also a newbie in Git. I encountered basically the same problem as yours. I solved this by typing:
git commit -a -m ‘some message’
The reason is that git doesn’t allow commit without messages. You have to associate some messages with your commit command.”
Also published on Medium.