How to open pr on upstream to merge fork. #4911
-
Using gh repo fork --clone, my remotes look like origin and upstream. I want to use gh pr create and create a pr from a origin/feature-master branch to upstream/master. Currently it is creating a pr from origin/feature-master to origin/master. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
When using a Do you remember what you selected as the answer to that prompt? The repo that you've selected will be used as the target for creating PRs in. You can override that per-operation by using the gh pr create --repo owner/repo # "owner/repo" should be where the upstream remote points to |
Beta Was this translation helpful? Give feedback.
-
you can use
let me know if that is not clear. |
Beta Was this translation helpful? Give feedback.
you can use
let me know if that is not clear.