github - git commit problem
黄舟
黄舟 2017-05-02 09:31:55
0
2
481

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:

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(2)
phpcn_u1582

git commit -m "Site updated: $(date)"

世界只因有你

You can refer to this link
http://www.cnblogs.com/MuyouSome/p/3290844.html
Create a commit template

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template