The git command git commit -m '文本'
can use the text in quotation marks as a description,
Is there any command that can directly use the current date and time as the content of this '文本'
when committing,
For example, my hexo blog has the effect as shown in the picture:
git commit -m "Site updated: $(date)"
You can refer to this link
http://www.cnblogs.com/MuyouSome/p/3290844.html
Create a commit template