Browse Source

doc: specify how to link issues in commit log

PR-URL: https://github.com/nodejs/node/pull/7161
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
v4.x
Luigi Pinca 8 years ago
committed by Myles Borins
parent
commit
5b807ac791
  1. 6
      CONTRIBUTING.md

6
CONTRIBUTING.md

@ -120,6 +120,12 @@ run `git shortlog` or `git log --oneline`.
Check the output of `git log --oneline files_that_you_changed` to find out Check the output of `git log --oneline files_that_you_changed` to find out
what subsystem (or subsystems) your changes touch. what subsystem (or subsystems) your changes touch.
If your patch fixes an open issue, you can add a reference to it at the end
of the log. Use the `Fixes:` prefix and the full issue URL. For example:
```
Fixes: https://github.com/nodejs/node/issues/1337
```
### Step 4: Rebase ### Step 4: Rebase

Loading…
Cancel
Save