summaryrefslogtreecommitdiffhomepage
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorxuruidong <xuruidong@gmail.com>2026-03-19 21:02:05 +0800
committerAndrew Clayton <a.clayton@nginx.com>2026-03-31 15:36:50 +0100
commit9fd94af4ddfca2f1f725744d6e4a578efef776e4 (patch)
tree70ddacb6f91eaced8a0553eb1252bc321ce1a9d1 /CONTRIBUTING.md
parent0d025b4a9483b18237243c0aaf9b8d4201aebcd8 (diff)
downloadnginx-9fd94af4ddfca2f1f725744d6e4a578efef776e4.tar.gz
nginx-9fd94af4ddfca2f1f725744d6e4a578efef776e4.tar.bz2
Update CONTRIBUTING.md
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md11
1 files changed, 8 insertions, 3 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 4436414f3..19033141f 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -68,9 +68,14 @@ to 76 characters
code; examples include "Upstream:", "QUIC:", or "Core:"; see the commit history
to get an idea of the prefixes used
-- Reference issues in the the subject line; if the commit fixes an issue,
-[name it](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue)
-accordingly
+- If the commit fixes an open issue then you can use the "Closes:" tag/trailer
+to reference it and have GitHub automatically close it once it's been merged.
+E.g.:
+
+ `Closes: https://github.com/nginx/nginx/issues/9999`
+
+ That should go at the end of the commit message, separated by a blank line,
+ along with any other tags.
### Before Submitting