aboutsummaryrefslogtreecommitdiffstats
path: root/docs/contributing.md
diff options
context:
space:
mode:
authorVictor Hsieh <victorhsieh@google.com>2018-12-12 16:07:54 -0800
committerDmitry Vyukov <dvyukov@google.com>2018-12-19 11:29:51 +0100
commitc2c27bd174976e7e5646e3e1b2d5ea7bdd78819b (patch)
tree762447be5ec123627e494f234c512ca48e5e118e /docs/contributing.md
parent4edaba9329e6f5c61daa591ee8922c1bbc3b3e11 (diff)
docs: fix step to create local branch from new origin
The current step creates a local branch from the default origin, which is probably not my-origin in the instruction.
Diffstat (limited to 'docs/contributing.md')
-rw-r--r--docs/contributing.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/contributing.md b/docs/contributing.md
index be8eae8b3..bdd7822ea 100644
--- a/docs/contributing.md
+++ b/docs/contributing.md
@@ -48,7 +48,7 @@ so that there is agreement on high level approach and no duplication of work bet
cd $GOPATH/src/github.com/google/syzkaller
git remote add my-origin https://github.com/YOUR_GITHUB_USERNAME/syzkaller.git
git fetch my-origin
-git checkout -b my-branch master
+git checkout -b my-branch my-origin/master
```
This adds git origin `my-origin` with your repository and checks out new branch `my-branch` based on `master` branch.