Skip to content

Commit 607e853

Browse files
dario-piotrowiczanonrigaduh95
committed
doc: clarify that PR commit Fixes: and Refs: are optional
Co-authored-by: Yagiz Nizipli <[email protected]> Co-authored-by: Antoine du Hamel <[email protected]>
1 parent da5f7ac commit 607e853

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/contributing/pull-requests.md

+5
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,11 @@ A good commit message should describe what changed and why.
184184
of the log. Use the `Fixes:` prefix and the full issue URL. For other
185185
references use `Refs:`.
186186

187+
`Fixes:` and `Refs:` trailers get automatically added to your commit message
188+
when the Pull Request lands as long as they are included in the
189+
Pull Request's description. If the Pull Request lands in several commits,
190+
by default the trailers found in the description are added to each commits.
191+
187192
Examples:
188193

189194
* `Fixes: https://github.com/nodejs/node/issues/1337`

0 commit comments

Comments
 (0)