Skip to content

Commit 8a53bd4

Browse files
lpincajasnell
authored andcommitted
doc: specify how to link issues in commit log
PR-URL: #7161 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent d413378 commit 8a53bd4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CONTRIBUTING.md

+6
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,12 @@ run `git shortlog` or `git log --oneline`.
119119
Check the output of `git log --oneline files_that_you_changed` to find out
120120
what subsystem (or subsystems) your changes touch.
121121

122+
If your patch fixes an open issue, you can add a reference to it at the end
123+
of the log. Use the `Fixes:` prefix and the full issue URL. For example:
124+
125+
```
126+
Fixes: https://github.com/nodejs/node/issues/1337
127+
```
122128

123129
### Step 4: Rebase
124130

0 commit comments

Comments
 (0)