File tree Expand file tree Collapse file tree 1 file changed +20
-4
lines changed
Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -59,13 +59,29 @@ should replace ``<your-username>`` with your GitHub username):
5959
6060
6161This 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 [email protected] :matplotlib/matplotlib.git 84+
6985 .. note ::
7086
7187 For more information on ``git `` and ``GitHub ``, check the following resources.
You can’t perform that action at this time.
0 commit comments