File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -157,6 +157,22 @@ Then create a new branch off the ``2.7`` branch to work on the bugfix:
157
157
The above checkout commands automatically switch the code to the newly created
158
158
branch (check the branch you are working on with ``git branch ``).
159
159
160
+ Use your Branch in an Existing Project
161
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162
+
163
+ If you want to test your code in an existing project that uses ``symfony/symfony ``
164
+ or Symfony components, you can use the ``link `` utility provided in the Git repository
165
+ you cloned previously.
166
+ This tool scans the ``vendor/ `` directory of your project, finds Symfony packages it
167
+ uses, and replaces them by symbolic links to the ones in the Git repository.
168
+
169
+ .. code-block :: terminal
170
+
171
+ $ php link /path/to/your/project
172
+
173
+ Before running the ``link `` command, be sure that the dependencies of the project you
174
+ want to debug are installed by running ``composer install `` inside it.
175
+
160
176
Work on your Patch
161
177
~~~~~~~~~~~~~~~~~~
162
178
You can’t perform that action at this time.
0 commit comments