Git Commit Messages: 50/72 Formatting

后端 未结 5 1381
不知归路
不知归路 2020-11-29 14:10

Tim Pope argues for a particular Git commit message style in his blog post: http://www.tpope.net/node/106.

Here is a quick summary of what he recommends:

    <
5条回答
  •  被撕碎了的回忆
    2020-11-29 14:44

    Regarding “thought leaders”: Linus emphatically advocates line wrapping for the full commit message:

    […] we use 72-character columns for word-wrapping, except for quoted material that has a specific line format.

    The exceptions refers mainly to “non-prose” text, that is, text that was not typed by a human for the commit — for example, compiler error messages.

提交回复
热议问题