53

如何写好git commit log | Aoho's Blog

 5 years ago
source link: http://blueskykong.com/2018/05/16/commit-log-git/?
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
代码差异(diff)可以告知改动的内容,但只有提交信息才能正确地告诉你为什么(why)。Git仓库的贡献者知道,和后续开发者(事实上未来就是他们自己)沟通一个改动的上下文(context),最好方法就是通过一个好的 git 提交信息。 如果你对如何写好 git 提交信息没有仔细想过,那你很可能没有怎么使用过 git log 和相关工具。这里有一个恶性循环:因为提交的历史信息组织混乱而且前后矛盾,那

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK