Aborting commit due to empty commit message git 提交

Aborting commit due to empty commit message

原因:提交空信息被终止了提交

解决:

1、git commit -m '注释信息'

2、git commit 

头信息加上信息Aborting commit due to empty commit message git 提交