summaryrefslogtreecommitdiff
path: root/development.md
diff options
context:
space:
mode:
authorRobert Bailey <robertbailey@google.com>2015-04-15 20:50:00 -0700
committerRobert Bailey <robertbailey@google.com>2015-04-15 20:51:49 -0700
commit2375fb9e51bf693abe62554e0c1ca8c3f0719328 (patch)
tree5f149e7e5714112292c7300dec45453a4f30d08e /development.md
parent655bbc697f92fe1229534c80a97a56862a4eb440 (diff)
Add documentation to help new contributors with write access
from accidentally pushing upstream.
Diffstat (limited to 'development.md')
-rw-r--r--development.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/development.md b/development.md
index 7972eef6..bbd94fef 100644
--- a/development.md
+++ b/development.md
@@ -256,6 +256,13 @@ git fetch upstream
git rebase upstream/master
```
+If you have write access to the main repository, you should modify your git configuration so that
+you can't accidentally push to upstream:
+
+```
+git remote set-url --push upstream no_push
+```
+
## Regenerating the CLI documentation
```