Skip to content

Commit 8247d93

Browse files
committed
doc: mention git node backport
PR-URL: #44764 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
1 parent 8b53339 commit 8247d93

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/contributing/releases.md

+7
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,13 @@ When landing the PR add the `Backport-PR-URL:` line to each commit. Close the
166166
backport PR with `Landed in ...`. Update the label on the original PR from
167167
`backport-requested-vN.x` to `backported-to-vN.x`.
168168

169+
You can add the `Backport-PR-URL` metadata by using `--backport` with
170+
`git node land`
171+
172+
```console
173+
$ git node land --backport $PR-NUMBER
174+
```
175+
169176
To determine the relevant commits, use
170177
[`branch-diff`](https://github.com/nodejs/branch-diff). The tool is available on
171178
npm and should be installed globally or run with `npx`. It depends on our commit

0 commit comments

Comments
 (0)