Skip to content

Commit 26801d1

Browse files
committed
bug #6704 Encountered an error when following the steps for contribution (chancegarcia)
This PR was merged into the 2.7 branch. Discussion ---------- Encountered an error when following the steps for contribution Encountered an error when following the steps for contribution. Updated the contribution overview to reflect how to avoid that error when transitioning between steps 3 and 4 in `Your First Documentation Contribution`. Commits ------- e2fabe5 Encountered an error when following the steps for contribution. Updated the contribution overview to reflect how to avoid that error when transitioning between steps 3 and 4 in `Your First Documentation Contribution`
2 parents 72ce4da + e2fabe5 commit 26801d1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

contributing/documentation/overview.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,12 @@ your project:
107107
upstream https://github.com/symfony/symfony-docs.git (fetch)
108108
upstream https://github.com/symfony/symfony-docs.git (push)
109109
110+
Fetch all the commits of the upstream branches by executing this command:
111+
112+
.. code-block:: bash
113+
114+
$ git fetch upstream
115+
110116
The purpose of this step is to allow you work simultaneously on the official
111117
Symfony repository and on your own fork. You'll see this in action in a moment.
112118

@@ -208,6 +214,7 @@ contribution to the Symfony docs:
208214
209215
# create a new branch based on the oldest maintained version
210216
$ cd projects/symfony-docs/
217+
$ git fetch upstream
211218
$ git checkout -b my_changes upstream/2.7
212219
213220
# ... do your changes

0 commit comments

Comments
 (0)