mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
doc: ensure to revert node_version changes
PR-URL: https://github.com/nodejs/node/pull/44760 Reviewed-By: Ruy Adorno <ruyadorno@google.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
This commit is contained in:
1 parent
3112d5dae0
commit
fd971f5176
1 file changed
+6
-2
@@ -705,13 +705,17 @@ $ git pull upstream main
|
||||
$ git cherry-pick v1.x^
|
||||
```
|
||||
|
||||
Git should stop to let you fix conflicts. Revert all changes that were made to
|
||||
`src/node_version.h`:
|
||||
Git should stop to let you fix conflicts.
|
||||
|
||||
Revert all changes that were made to `src/node_version.h`:
|
||||
|
||||
```console
|
||||
$ git checkout --ours HEAD -- src/node_version.h
|
||||
```
|
||||
|
||||
Even if there are no conflicts, ensure that you revert all the changes that were
|
||||
made to `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
|
||||
|
||||
Reference in new issue
Block a user