Skip to content

Commit 6dc0382

Browse files
committed
doc: mention git node backport
PR-URL: #44764 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent fd971f5 commit 6dc0382

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)