From 5b807ac791349255f1bed40d304bc1c4d17a27b6 Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Sun, 5 Jun 2016 15:25:56 +0200 Subject: [PATCH] doc: specify how to link issues in commit log PR-URL: https://github.com/nodejs/node/pull/7161 Reviewed-By: Ben Noordhuis Reviewed-By: Benjamin Gruenbaum Reviewed-By: Colin Ihrig Reviewed-By: James M Snell --- CONTRIBUTING.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6b761c7985..efe83ccf20 100644 --- a/CONTRIBUTING.md +++ b/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 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