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 7a98072

Browse filesBrowse files
committed
DOC: read-only remote for those with commit-bit
1 parent 9edee8c commit 7a98072
Copy full SHA for 7a98072

File tree

Expand file treeCollapse file tree

1 file changed

+19
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+19
-2
lines changed

‎doc/devel/gitwash/set_up_fork.rst

Copy file name to clipboardExpand all lines: doc/devel/gitwash/set_up_fork.rst
+19-2Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,29 @@ that you make. It is not tracked in your personal repository on
6161
github_.
6262

6363
Just for your own satisfaction, show yourself that you now have a new
64-
'remote', with ``git remote -v show``, giving you something like::
64+
'remote', with ``git remote -v``, giving you something like::
6565

6666
upstream git://github.com/matplotlib/matplotlib.git (fetch)
6767
upstream git://github.com/matplotlib/matplotlib.git (push)
6868
origin git@github.com:your-user-name/matplotlib.git (fetch)
6969
origin git@github.com:your-user-name/matplotlib.git (push)
7070

71-
.. include:: links.inc
7271

72+
Read-only remote / push access to ``matplotlib/matplotlib``
73+
-----------------------------------------------------------
74+
75+
If you have commit rights to ``matplotlib/matplotlib`` the ``git://``
76+
protocol URL will still be read-only (due to it not supporting
77+
authentication and restrictions on github's side). To reduce the
78+
chance of accidentally pushing to upstream, we suggest setting up a
79+
read-only remote of upstream as above and a read/write remote as ::
80+
81+
git remote add DANGER git@github.com:matplotlib/matplotlib.git
82+
83+
or ::
84+
85+
git remote add HOLY_COMMIT_RIGHTS_BATMAN https://github.com/matplotlib/matplotlib.git
86+
87+
88+
89+
.. include:: links.inc

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.