node
node copied to clipboard
doc: simplify copy-pasting of `branch-diff` commands
The changes on this PR:
- Add a local
N
variable to let the backporter specify which version is targeted. - Use
upstream/main
instead ofmain
for the base branch to compare (in case the local branch is not up-to-date / contains unrelated commits, it minimizes the risks of errors). - Add
-S
flag togit cherry-pick
so git signs the backport commits.
Review requested:
- [ ] @nodejs/tsc
Landed in 743aa42df1ae15fceef5a7d657f6c298a59ac150