mol*_*ter 2 git message commit github git-commit
我知道这不是自以为是,但我的问题是,编写简明提交消息的好方法是什么?
我已经使用Git(SmartGit,SourceTree)几个月了,随着我越来越习惯,我开始意识到我的提交信息不够清晰或不够详细,无法查看历史记录,即我我落在自己的轨道上.
到目前为止,我一直在写我的解决方案,如"正在进行/完成工作:yadayada .."但即便如此,我觉得我可以做得更好.欢迎任何事情:)
PS我做了很多前端(html,css,js).
/ P
Ale*_*det 13
Run Code Online (Sandbox Code Playgroud)Separate subject from body with a blank line Limit the subject line to 50 characters Capitalize the subject line Do not end the subject line with a period Use the imperative mood in the subject line Wrap the body at 72 characters Use the body to explain what and why vs. how
资料来源:http://chris.beams.io/posts/git-commit/
这篇文章得到你所需要的一切!:)
这个"用身体来解释什么以及为什么与如何相对"是最重要的事情.开发人员通常只是解释他们如何解决他们面临的问题; 提交是知道已经完成了什么,而不是如何完成.
| 归档时间: |
|
| 查看次数: |
1658 次 |
| 最近记录: |