8000 Added example on PR IDs · symfony/symfony-docs@e6a98f5 · GitHub
[go: up one dir, main page]

Skip to content

Commit e6a98f5

Browse files
webmo
8000
zartweaverryan
authored andcommitted
Added example on PR IDs
1 parent b47b410 commit e6a98f5

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

contributing/community/reviews.rst

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,15 +157,22 @@ Pick a pull request from the `PRs in need of review`_ and follow these steps:
157157

158158
Take your project from step 3 and test whether the PR works properly.
159159
Replace the Symfony project in the ``vendor`` directory by the code in the
160-
PR by running the following Git commands. Insert the PR ID for the ``<ID>``
161-
placeholders:
160+
PR by running the following Git commands. Insert the PR ID (that's the number
161+
after the ``#`` in the PR title) for the ``<ID>`` placeholders:
162162

163163
.. code-block:: text
164164
165165
$ cd vendor/symfony/symfony
166166
$ git fetch origin pull/<ID>/head:pr<ID>
167167
$ git checkout pr<ID>
168168
169+
For example:
170+
171+
.. code-block:: text
172+
173+
$ git fetch origin pull/15723/head:pr15723
174+
$ git checkout pr15723
175+
169176
Now you can test the project against the code in the PR.
170177

171178
#. **Update the PR Status**

0 commit comments

Comments
 (0)
0