mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
doc: make explicit reverting node_version.h changes
Add an explicit command to revert changes to `node_version.h` when cherry-picking the release commit to the `master` branch. PR-URL: https://github.com/nodejs/node/pull/36461 Refs: https://github.com/nodejs/node/pull/36460 Refs: https://github.com/nodejs/node/pull/36385 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Danielle Adams <adamzdanielle@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Shelley Vohr <codebytere@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
1 parent
a150926177
commit
0b3caadad3
1 file changed
+7
-1
@@ -544,7 +544,13 @@ $ git cherry-pick v1.x^
|
||||
```
|
||||
|
||||
Git should stop to let you fix conflicts. Revert all changes that were made to
|
||||
`src/node_version.h`. If there are conflicts in `doc` due to updated `REPLACEME`
|
||||
`src/node_version.h`:
|
||||
|
||||
```console
|
||||
$ git checkout --ours HEAD -- src/node_version.h
|
||||
```
|
||||
|
||||
If there are conflicts in `doc` due to updated `REPLACEME`
|
||||
placeholders (that happens when a change previously landed on another release
|
||||
branch), keep both version numbers. Convert the YAML field to an array if it is
|
||||
not already one.
|
||||
|
||||
Reference in new issue
Block a user