mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-25 14:45:12 +00:00
docs: update installing.rst (#2691)
`git submodule add` needs the branch before the repository or else it is ignored. The previous code checked out the `master` branch, not the `stable` branch.
This commit is contained in:
parent
8adef2c7f6
commit
d57c1fab7f
@ -16,7 +16,7 @@ as a submodule. From your git repository, use:
|
|||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
git submodule add ../../pybind/pybind11 extern/pybind11 -b stable
|
git submodule add -b stable ../../pybind/pybind11 extern/pybind11
|
||||||
git submodule update --init
|
git submodule update --init
|
||||||
|
|
||||||
This assumes you are placing your dependencies in ``extern/``, and that you are
|
This assumes you are placing your dependencies in ``extern/``, and that you are
|
||||||
|
Loading…
Reference in New Issue
Block a user