From 5e4a2e94a1bebf6a2b053f936c4bf42e7d61eb8e Mon Sep 17 00:00:00 2001 From: RafaelGSS Date: Fri, 23 Sep 2022 17:00:49 -0300 Subject: [PATCH] doc: mention git node backport PR-URL: https://github.com/nodejs/node/pull/44764 Reviewed-By: Richard Lau Reviewed-By: Michael Dawson Reviewed-By: Antoine du Hamel --- doc/contributing/releases.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/contributing/releases.md b/doc/contributing/releases.md index d6d4deee8b5d63..a1045476d18399 100644 --- a/doc/contributing/releases.md +++ b/doc/contributing/releases.md @@ -166,6 +166,13 @@ When landing the PR add the `Backport-PR-URL:` line to each commit. Close the backport PR with `Landed in ...`. Update the label on the original PR from `backport-requested-vN.x` to `backported-to-vN.x`. +You can add the `Backport-PR-URL` metadata by using `--backport` with +`git node land` + +```console +$ git node land --backport $PR-NUMBER +``` + To determine the relevant commits, use [`branch-diff`](https://github.com/nodejs/branch-diff). The tool is available on npm and should be installed globally or run with `npx`. It depends on our commit