summaryrefslogtreecommitdiff
path: root/doc/source/dev
diff options
context:
space:
mode:
authorNathan Goldbaum <nathan.goldbaum@gmail.com>2023-04-17 14:35:05 -0600
committerNathan Goldbaum <nathan.goldbaum@gmail.com>2023-04-18 09:00:26 -0600
commit00aa02fa40604387161e26f8d09cfd0c95b5e5e3 (patch)
tree5796e6112cf27ed0460f1af3e078cda165464b39 /doc/source/dev
parent22e515adc77880618f80c6fe0d8326ffb8d88ce0 (diff)
downloadnumpy-00aa02fa40604387161e26f8d09cfd0c95b5e5e3.tar.gz
DOC: pull tags and initialize submodules in development install instructions
Diffstat (limited to 'doc/source/dev')
-rw-r--r--doc/source/dev/index.rst12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/source/dev/index.rst b/doc/source/dev/index.rst
index 22ab55b31..b4479fa0d 100644
--- a/doc/source/dev/index.rst
+++ b/doc/source/dev/index.rst
@@ -60,12 +60,16 @@ Here's the short summary, complete TOC links are below:
- ``upstream``, which refers to the ``numpy`` repository
- ``origin``, which refers to your personal fork
-2. Develop your contribution:
-
- * Pull the latest changes from upstream::
+ * Pull the latest changes from upstream, including tags::
git checkout main
- git pull upstream main
+ git pull upstream main --tags
+
+ * Initialize numpy's submodules::
+
+ git submodule update --init
+
+2. Develop your contribution:
* Create a branch for the feature you want to work on. Since the
branch name will appear in the merge message, use a sensible name