Skip to content

Commit 1934b5c

Browse files
committed
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
1 parent 5ec363b commit 1934b5c

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

contributing/documentation/overview.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,26 @@ 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 the upstream branch list.
111+
112+
.. code-block:: bash
113+
114+
$ git fetch upstream
115+
From https://github.com/symfony/symfony-docs
116+
* [new branch] 2.0 -> upstream/2.0
117+
* [new branch] 2.1 -> upstream/2.1
118+
* [new branch] 2.2 -> upstream/2.2
119+
* [new branch] 2.3 -> upstream/2.3
120+
* [new branch] 2.4 -> upstream/2.4
121+
* [new branch] 2.5 -> upstream/2.5
122+
* [new branch] 2.6 -> upstream/2.6
123+
* [new branch] 2.7 -> upstream/2.7
124+
* [new branch] 2.8 -> upstream/2.8
125+
* [new branch] 3.0 -> upstream/3.0
126+
* [new branch] 3.1 -> upstream/3.1
127+
* [new branch] master -> upstream/master
128+
129+
110130
The purpose of this step is to allow you work simultaneously on the official
111131
Symfony repository and on your own fork. You'll see this in action in a moment.
112132

@@ -208,6 +228,7 @@ contribution to the Symfony docs:
208228
209229
# create a new branch based on the oldest maintained version
210230
$ cd projects/symfony-docs/
231+
$ git fetch upstream
211232
$ git checkout -b my_changes upstream/2.7
212233
213234
# ... do your changes

0 commit comments

Comments
 (0)