-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hack: fix cherrypick instruction #11152
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If user run There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @jingyih thanks, and that's a good question. So yes, when you run the git clone that way, it will set There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see. Thanks! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @jingyih yrw, thank you! |
||
export FORK_REMOTE=origin | ||
export GITHUB_USER=${github-username} | ||
``` | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch!