From 25702ba23444d5199c70840093b3fa320146a310 Mon Sep 17 00:00:00 2001 From: James Foster Date: Mon, 23 Nov 2020 21:03:35 -0800 Subject: [PATCH] Update installing.rst `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. --- docs/installing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/installing.rst b/docs/installing.rst index 2597285981..9ef231e40a 100644 --- a/docs/installing.rst +++ b/docs/installing.rst @@ -16,7 +16,7 @@ as a submodule. From your git repository, use: .. 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 This assumes you are placing your dependencies in ``extern/``, and that you are