Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b514438

Browse filesBrowse files
dario-piotrowiczanonrigaduh95
authored andcommitted
doc: add note regarding commit message trailers
Co-authored-by: Yagiz Nizipli <yagiz@nizipli.com> Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: #56736 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 5e2dab7 commit b514438
Copy full SHA for b514438

File tree

Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Open diff view settings
Collapse file

‎doc/contributing/pull-requests.md‎

Copy file name to clipboardExpand all lines: doc/contributing/pull-requests.md
+5Lines changed: 5 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.