diff --git a/doc/contributing/releases.md b/doc/contributing/releases.md index 9fd8d51fa07..71ae6dcb265 100644 --- a/doc/contributing/releases.md +++ b/doc/contributing/releases.md @@ -819,7 +819,7 @@ Git should stop to let you fix conflicts. Revert all changes that were made to `src/node_version.h`: ```bash -git checkout --ours HEAD -- src/node_version.h +git restore --source=upstream/main src/node_version.h ```