File tree 1 file changed +20
-4
lines changed 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):
59
59
60
60
61
61
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::
66
64
67
65
cd matplotlib
68
66
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
+
69
85
.. note ::
70
86
71
87
For more information on ``git `` and ``GitHub ``, check the following resources.
You can’t perform that action at this time.
0 commit comments