Troubleshooting Git

Had an issue, whilst learning git commands and the helpful www came to my rescue..

My problem:

Getting this error message anytime I tried to commit a file: “Aborting commit due to empty commit message.”

Found the solution at

“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.”