Skip to content

Commit d500445

Browse files
richardlautargos
authored andcommitted
doc: reduce likelihood of mismerges during release
Switch to the `patience` git diff algorithm to reduce the likelihood of mismerges when the release commit is cherry-picked to the `main` branch. Refs: nodejs/Release#771 (comment) PR-URL: #45864 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]>
1 parent c9747f1 commit d500445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/contributing/releases.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ repository.
710710
```console
711711
$ git checkout main
712712
$ git pull upstream main
713-
$ git cherry-pick v1.x^
713+
$ git cherry-pick --strategy-option=diff-algorithm=patience v1.x^
714714
```
715715

716716
Git should stop to let you fix conflicts.

0 commit comments

Comments
 (0)