2016-04-02 35 views

回答

6

的总结提交信息的第一行:它总结了原因的提交(为什么,没有什么)
请参阅“The Art of the Commit

,其余进入的描述。

enter image description here


按照惯例,第一行是不应该超过50个字符:
this template

# <type>: (If applied, this commit will...) <subject> (Max 50 char) 
# |<---- Using a Maximum Of 50 Characters ---->| 


# Explain why this change is being made 
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| 

# Provide links or keys to any relevant tickets, articles or other resources 
# Example: Github issue #23 

其他Git的图形用户界面做enfornce相同的摘要/描述惯例,like Atomio

https://cdn-images-1.medium.com/max/1200/1*dSJ0TgQUPX2ukRwgZi9RBQ.gif

相关问题