@@ -15,7 +15,7 @@ Overview
15
15
16
16
git clone https://github.com/your-user-name/matplotlib.git
17
17
cd matplotlib
18
- git remote add upstream git ://github.com/matplotlib/matplotlib.git
18
+ git remote add upstream https ://github.com/matplotlib/matplotlib.git
19
19
20
20
In detail
21
21
=========
@@ -50,23 +50,18 @@ Linking your repository to the upstream repo
50
50
::
51
51
52
52
cd matplotlib
53
- git remote add upstream git ://github.com/matplotlib/matplotlib.git
53
+ git remote add upstream https ://github.com/matplotlib/matplotlib.git
54
54
55
55
``upstream `` here is just the arbitrary name we're using to refer to the
56
56
main `Matplotlib `_ repository at `Matplotlib github `_.
57
57
58
- Note that we've used ``git:// `` for the URL rather than ``https:// `` or ``git@ ``. The
59
- ``git:// `` URL is read only. This means that we can't accidentally
60
- (or deliberately) write to the upstream repo, and we are only going to
61
- use it to merge into our own code.
62
-
63
58
Just for your own satisfaction, show yourself that you now have a new
64
59
'remote', with ``git remote -v show ``, giving you something like:
65
60
66
61
.. code-block :: none
67
62
68
- upstream git ://github.com/matplotlib/matplotlib.git (fetch)
69
- upstream git ://github.com/matplotlib/matplotlib.git (push)
63
+ upstream https ://github.com/matplotlib/matplotlib.git (fetch)
64
+ upstream https ://github.com/matplotlib/matplotlib.git (push)
70
65
origin https://github.com/your-user-name/matplotlib.git (fetch)
71
66
origin https://github.com/your-user-name/matplotlib.git (push)
72
67
0 commit comments