8000 Merge pull request #25828 from rcomer/set-upstream · matplotlib/matplotlib@1539614 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1539614

Browse files
authored
Merge pull request #25828 from rcomer/set-upstream
DOC: add remote upstream
2 parents 4bdae2e + 9acdc8c commit 1539614

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

doc/devel/development_setup.rst

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,29 @@ should replace ``<your-username>`` with your GitHub username):
5959

6060

6161
This will place the sources in a directory :file:`matplotlib` below your
62-
current working directory, set up the ``origin`` remote to point to your own
63-
fork, and set up the ``upstream`` remote to point to the Matplotlib main
64-
repository (see also `Managing remote repositories <https://docs.github.com/en/get-started/getting-started-with-git/managing-remote-repositories>`__.)
65-
Change into this directory before continuing::
62+
current working directory and set up the ``origin`` remote to point to your own
63+
fork. Change into this directory before continuing::
6664

6765
cd matplotlib
6866

67+
Now set up the ``upstream`` remote to point to the Matplotlib main repository,
68+
so that you can access the latest changes there (see also `Managing remote repositories
69+
<https://docs.github.com/en/get-started/getting-started-with-git/managing-remote-repositories>`__.):
70+
71+
.. tab-set::
72+
73+
.. tab-item:: https
74+
75+
.. code-block:: bash
76+
77+
git remote add upstream https://github.com/matplotlib/matplotlib.git
78+
79+
.. tab-item:: ssh
80+
81+
.. code-block:: bash
82+
83+
git remote add upstream git@github.com:matplotlib/matplotlib.git
84+
6985
.. note::
7086

7187
For more information on ``git`` and ``GitHub``, check the following resources.

0 commit comments

Comments
 (0)
0