Commit d57c1fab by James Foster Committed by GitHub

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.
parent 8adef2c7
...@@ -16,7 +16,7 @@ as a submodule. From your git repository, use: ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment