As a newbie git user, when I try to commit my work with
git commit -a -v
and I enter a commit message in my editor, I close the file, and g
solution for commit error
As I shown above there is a commit field which you need to enter while committing, this is basically for version control and understanding the changes for each commit.
If you don't enter this you will get the error :Aborting commit due to empty commit message
Note: the above works only in Rstudio commit and pulling the files.