@@ -107,13 +107,13 @@ Choose the right Branch
107
107
Before working on a patch, you must determine on which branch you need to
108
108
work. The branch should be based on the `master ` branch if you want to add a
109
109
new feature. But if you want to fix a bug, use the oldest but still maintained
110
- version of Symfony where the bug happens (like `2.0 `).
110
+ version of Symfony where the bug happens (like `2.1 `).
111
111
112
112
.. note ::
113
113
114
114
All bug fixes merged into maintenance branches are also merged into more
115
115
recent branches on a regular basis. For instance, if you submit a patch
116
- for the `2.0 ` branch, the patch will also be applied by the core team on
116
+ for the `2.1 ` branch, the patch will also be applied by the core team on
117
117
the `master ` branch.
118
118
119
119
Create a Topic Branch
@@ -126,18 +126,18 @@ topic branch:
126
126
127
127
$ git checkout -b BRANCH_NAME master
128
128
129
- Or, if you want to provide a bugfix for the 2.0 branch, first track the remote
130
- `2.0 ` branch locally:
129
+ Or, if you want to provide a bugfix for the 2.1 branch, first track the remote
130
+ `2.1 ` branch locally:
131
131
132
132
.. code-block :: bash
133
133
134
- $ git checkout -t origin/2.0
134
+ $ git checkout -t origin/2.1
135
135
136
- Then create a new branch off the 2.0 branch to work on the bugfix:
136
+ Then create a new branch off the 2.1 branch to work on the bugfix:
137
137
138
138
.. code-block :: bash
139
139
140
- $ git checkout -b BRANCH_NAME 2.0
140
+ $ git checkout -b BRANCH_NAME 2.1
141
141
142
142
.. tip ::
143
143
@@ -230,7 +230,7 @@ while to finish your changes):
230
230
231
231
.. tip ::
232
232
233
- Replace `master ` with `2.0 ` if you are working on a bugfix
233
+ Replace `master ` with `2.1 ` if you are working on a bugfix
234
234
235
235
When doing the ``rebase `` command, you might have to fix merge conflicts.
236
236
``git status `` will show you the *unmerged * files. Resolve all the conflicts,
@@ -365,7 +365,7 @@ Rework your Patch
365
365
366
366
Based on the feedback on the pull request, you might need to rework your
367
367
patch. Before re-submitting the patch, rebase with ``upstream/master `` or
368
- ``upstream/2.0 ``, don't merge; and force the push to the origin:
368
+ ``upstream/2.1 ``, don't merge; and force the push to the origin:
369
369
370
370
.. code-block :: bash
371
371
0 commit comments