Skip to content

Commit 5068a19

Browse files
authored
Be explicit with the changes we ignore in merges
1 parent 868d798 commit 5068a19

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

docs/release-process.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,10 +312,16 @@ slightly different steps. We'll call attention where the steps differ.
312312
```
313313
314314
When resolving the conflicts, ignore the changes from PHP-X.Y in higher
315-
branches. It means using something like `git checkout --ours .` when on
316-
PHP.X.Y+1 or master after the merge resulting in the conflicts.
315+
branches when on PHP.X.Y+1 or master after the merge resulting in the
316+
conflicts.
317317
318-
Be sure to set up a merge driver for the NEWS file as described in
318+
```
319+
git checkout --ours main/php_version.h Zend/zend.h configure.ac
320+
git add main/php_version.h Zend/zend.h configure.ac
321+
git merge --continue
322+
```
323+
324+
Be sure to set up a merge driver for the `NEWS` file as described in
319325
the [Git FAQ page on the PHP wiki][gitfaq-mandatory].
320326
321327
11. Push the changes to the `php-src`.

0 commit comments

Comments
 (0)