Skip to content

Commit

Permalink
hack: fix cherrypick instruction
Browse files Browse the repository at this point in the history
Remotes is not a valid git command. Also, set the environmental variable
correctly.
  • Loading branch information
spzala committed Sep 15, 2019
1 parent 589ab74 commit 78fb1e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hack/patch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ Handles cherry-picks of PR(s) from etcd master to a stable etcd release branch a
Set the `UPSTREAM_REMOTE` and `FORK_REMOTE` environment variables.
`UPSTREAM_REMOTE` should be set to git remote name of `github.com/etcd-io/etcd`,
and `FORK_REMOTE` should be set to the git remote name of the forked etcd
repo (`github.com/${github-username}/etcd`). Use `git remotes -v` to
repo (`github.com/${github-username}/etcd`). Use `git remote -v` to
look up the git remote names. If etcd has not been forked, create
one on github.com and register it locally with `git remote add ...`.


```
export UPSTREAM_REMOTE=origin
export FORK_REMOTE=${github-username}
export UPSTREAM_REMOTE=upstream
export FORK_REMOTE=origin
export GITHUB_USER=${github-username}
```

Expand Down

0 comments on commit 78fb1e3

Please sign in to comment.