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:
James Foster 2020-11-24 09:08:33 -08:00 committed by GitHub
parent 8adef2c7f6
commit d57c1fab7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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