Skip to content

Commit c6fbe99

Browse files
committed
Add Issue Number to Commit Message How-To
Signed-off-by: Sven Strittmatter <sven.strittmatter@iteratec.com>
1 parent a1148d7 commit c6fbe99

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

CONTRIBUTING.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,14 @@ For more information see [Chris Beams article](https://chris.beams.io/posts/git-
9191

9292
TL;DR
9393

94-
1. Separate subject from body with a blank line
95-
2. Limit the subject line to 50 characters
96-
3. Capitalize the subject line
97-
4. Do not end the subject line with a period
98-
5. Use the imperative mood in the subject line
99-
6. Wrap the body at 72 characters
100-
7. Use the body to explain what and why vs. how
94+
1. Separate subject from body with a blank line.
95+
2. Add the issue number at beginning of to the subject line (e.g. "#42 Adds the Answer to the Live, Universe, and the Rest")
96+
2. Limit the subject line to 50 characters.
97+
3. Capitalize the subject line.
98+
4. Do not end the subject line with a period.
99+
5. Use the imperative mood in the subject line.
100+
6. Wrap the body at 72 characters.
101+
7. Use the body to explain what and why (not how because this is obvious from the diff).
101102

102103
**NOTE**: Make sure you don't include `@mentions` or `fixes` keywords in your git commit messages. These should be included in the PR body instead.
103104

0 commit comments

Comments
 (0)