]> git.kaiwu.me - nginx.git/commitdiff
Update CONTRIBUTING.md
authorxuruidong <xuruidong@gmail.com>
Thu, 19 Mar 2026 13:02:05 +0000 (21:02 +0800)
committerAndrew Clayton <a.clayton@nginx.com>
Tue, 31 Mar 2026 14:36:50 +0000 (15:36 +0100)
CONTRIBUTING.md

index 4436414f3ccdab29cd206cbe0115942aae20093c..19033141f94b10ac3e4a831d6c36c29459466a6f 100644 (file)
@@ -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