Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1539614

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

File tree

Expand file treeCollapse file tree

1 file changed

+20
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+20
-4
lines changed

‎doc/devel/development_setup.rst

Copy file name to clipboardExpand all lines: doc/devel/development_setup.rst
+20-4Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.