File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,32 @@ At this point, you have a fully-functional Symfony2 project that's correctly
6969
committed to git. You can immediately begin development, committing the new
7070
changes to your git repository.
7171

72+
.. tip::
73+
74+
After execution of the command:
75+
76+
$ php bin/vendors install
77+
78+
your project will contain complete git history of all the bundles defined
79+
in ``deps`` file. It can be as much as 100 MB! You can remove git history
80+
directories with following command:
81+
82+
.. code-block:: bash
83+
84+
$ find vendor -name .git -type d | xargs rm -rf
85+
86+
The command removes all ``.git`` directoreis contained inside
87+
``vendor`` directory.
88+
89+
After this command your project will be similar to
90+
``Symfony_Standard_Vendors_2.0.x.zip`` archive.
91+
If you want to update bundles defined in ``deps`` file you will
92+
have to reinstall them:
93+
94+
.. code-block:: bash
95+
96+
$ php bin/vendors install --reinstall
97+
7298
You can continue to follow along with the :doc:`/book/page_creation` chapter
7399
to learn more about how to configure and develop inside your application.
74100

0 commit comments

Comments
 (0)