Skip to content

Commit d57c1fa

Browse files
author
James Foster
authored
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.
1 parent 8adef2c commit d57c1fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/installing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ as a submodule. From your git repository, use:
1616

1717
.. code-block:: bash
1818
19-
git submodule add ../../pybind/pybind11 extern/pybind11 -b stable
19+
git submodule add -b stable ../../pybind/pybind11 extern/pybind11
2020
git submodule update --init
2121
2222
This assumes you are placing your dependencies in ``extern/``, and that you are

0 commit comments

Comments
 (0)