Skip to content

Commit c7dc42d

Browse files
committed
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)
1 parent b3f5a41 commit c7dc42d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)