Skip to content

Commit 8ee5441

Browse files
author
Antoine DURIEUX
committed
Even more spaces...
1 parent 6a62921 commit 8ee5441

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

cookbook/workflow/vendor_deps.rst

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -66,29 +66,20 @@ or upgraded. You can set that directly to the ``deps`` file :
6666
version=the-awesome-version
6767
6868
69-
* The ``git`` option sets the URL of the library. It can use various protocols,
70-
like ``http://`` as well as ``git://``.
69+
* The ``git`` option sets the URL of the library. It can use various protocols, like ``http://`` as well as ``git://``.
7170

72-
* The ``target`` option specifies where the repository will live : plain Symfony
73-
bundles should go under the ``vendor/bundles/Acme`` directory, other third-party
74-
libraries usually go to ``vendor/my-awesome-libreary-name``. The target directory
75-
defaults to this last option when not specified.
71+
* The ``target`` option specifies where the repository will live : plain Symfony bundles should go under the ``vendor/bundles/Acme`` directory, other third-party libraries usually go to ``vendor/my-awesome-libreary-name``. The target directory defaults to this last option when not specified.
7672

77-
* The ``version`` option allows you to set a specific revision. You can use a tag
78-
(``version=origin/0.42``) or a branch name (``refs/remotes/origin/awesome-branch``).
79-
It defaults to ``origin/HEAD``.
73+
* The ``version`` option allows you to set a specific revision. You can use a tag (``version=origin/0.42``) or a branch name (``refs/remotes/origin/awesome-branch``). It defaults to ``origin/HEAD``.
8074

8175

8276
Updating workflow
8377
-----------------
8478

85-
When you execute the ``php bin/vendors install``, for every library, the script
86-
first checks if the install directory exists.
79+
When you execute the ``php bin/vendors install``, for every library, the script first checks if the install directory exists.
8780

8881
If it does not (and ONLY if it does not, it runs a ``git clone``.
8982

9083
Then, it does a ``git fetch origin`` and a ``git reset --hard the-awesome-version``.
9184

92-
This means that the repository will only be cloned once. If you want to perform
93-
any change of the git remote, you MUST delete the entire target directory, not
94-
only its content.
85+
This means that the repository will only be cloned once. If you want to perform any change of the git remote, you MUST delete the entire target directory, not only its content.

0 commit comments

Comments
 (0)