5
虽然我不觉得它讨厌或类似的东西,但我只是想知道如何指定summary
或description
不同,同时使用GitHub上的桌面版本制作commit
?我如何在终端上使用git commit
来提供这两个?GitHub Desktop中的摘要和描述有什么区别?
虽然我不觉得它讨厌或类似的东西,但我只是想知道如何指定summary
或description
不同,同时使用GitHub上的桌面版本制作commit
?我如何在终端上使用git commit
来提供这两个?GitHub Desktop中的摘要和描述有什么区别?
的总结提交信息的第一行:它总结了原因的提交(为什么,没有什么)
请参阅“The Art of the Commit”
,其余进入的描述。
按照惯例,第一行是不应该超过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: