Skip to content

Commit c3536cf

Browse files
targosmarco-ippolito
authored andcommitted
doc: fix releases guide for recent Git versions
PR-URL: #53709 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 1d961fa commit c3536cf

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
@@ -819,7 +819,7 @@ Git should stop to let you fix conflicts.
819819
Revert all changes that were made to `src/node_version.h`:
820820

821821
```bash
822-
git checkout --ours HEAD -- src/node_version.h
822+
git restore --source=upstream/main src/node_version.h
823823
```
824824

825825
<details>

0 commit comments

Comments
 (0)