Skip to content

Commit ece467c

Browse files
committed
minor #14479 Change branch "master" to "5.x" (michaelKaefer)
This PR was submitted for the 5.1 branch but it was merged into the 3.4 branch instead. Discussion ---------- Change branch "master" to "5.x" Not sure if this is correct but I'm sure that I cannot find "master" anymore. Commits ------- 42f4d23 Change branch "master" to "5.x"
2 parents 19e5376 + 42f4d23 commit ece467c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

contributing/code/pull_requests.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ work:
129129
</contributing/code/maintenance>` (you may have to choose a higher branch if
130130
the feature you are fixing was introduced in a later version);
131131

132-
* ``master``, if you are adding a new feature.
132+
* ``5.x``, if you are adding a new feature.
133133

134134
The only exception is when a new :doc:`major Symfony version </contributing/community/releases>`
135135
(4.0, 5.0, etc.) comes out every two years. Because of the
@@ -142,7 +142,7 @@ work:
142142
All bug fixes merged into maintenance branches are also merged into more
143143
recent branches on a regular basis. For instance, if you submit a PR
144144
for the ``3.4`` branch, the PR will also be applied by the core team on
145-
the ``master`` branch.
145+
the ``5.x`` branch.
146146

147147
Create a Topic Branch
148148
~~~~~~~~~~~~~~~~~~~~~
@@ -152,7 +152,7 @@ topic branch:
152152

153153
.. code-block:: terminal
154154
155-
$ git checkout -b BRANCH_NAME master
155+
$ git checkout -b BRANCH_NAME 5.x
156156
157157
Or, if you want to provide a bug fix for the ``3.4`` branch, first track the remote
158158
``3.4`` branch locally:
@@ -277,15 +277,15 @@ while to finish your changes):
277277

278278
.. code-block:: terminal
279279
280-
$ git checkout master
280+
$ git checkout 5.x
281281
$ git fetch upstream
282-
$ git merge upstream/master
282+
$ git merge upstream/5.x
283283
$ git checkout BRANCH_NAME
284-
$ git rebase master
284+
$ git rebase 5.x
285285
286286
.. tip::
287287

288-
Replace ``master`` with the branch you selected previously (e.g. ``3.4``)
288+
Replace ``5.x`` with the branch you selected previously (e.g. ``3.4``)
289289
if you are working on a bug fix.
290290

291291
When doing the ``rebase`` command, you might have to fix merge conflicts.
@@ -402,12 +402,12 @@ Rework your Pull Request
402402
~~~~~~~~~~~~~~~~~~~~~~~~
403403

404404
Based on the feedback on the pull request, you might need to rework your
405-
PR. Before re-submitting the PR, rebase with ``upstream/master`` or
405+
PR. Before re-submitting the PR, rebase with ``upstream/5.x`` or
406406
``upstream/3.4``, don't merge; and force the push to the origin:
407407

408408
.. code-block:: terminal
409409
410-
$ git rebase -f upstream/master
410+
$ git rebase -f upstream/5.x
411411
$ git push --force origin BRANCH_NAME
412412
413413
.. note::

0 commit comments

Comments
 (0)