Skip to content

Commit 4e0630c

Browse files
authored
DOC: Added missing git instruction to docs on how to update environment (#54841)
Adding instruction to update env
1 parent b728d66 commit 4e0630c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/source/development/contributing.rst

+2
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ If using :ref:`mamba <contributing.mamba>`, run:
311311
.. code-block:: shell
312312
313313
git checkout main
314+
git fetch upstream
314315
git merge upstream/main
315316
mamba activate pandas-dev
316317
mamba env update -f environment.yml --prune
@@ -320,6 +321,7 @@ If using :ref:`pip <contributing.pip>` , do:
320321
.. code-block:: shell
321322
322323
git checkout main
324+
git fetch upstream
323325
git merge upstream/main
324326
# activate the virtual environment based on your platform
325327
python -m pip install --upgrade -r requirements-dev.txt

0 commit comments

Comments
 (0)