How to open pr on upstream to merge fork. #4911
|
Using gh repo fork --clone, my remotes look like origen and upstream. I want to use gh pr create and create a pr from a origen/feature-master branch to upstream/master. Currently it is creating a pr from origen/feature-master to origen/master. |
Answered by
akankshakumari393
Jan 17, 2022
Replies: 2 comments 1 reply
|
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 |
0 replies
|
you can use let me know if that is not clear. |
1 reply
Answer selected by
mislav
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you can use
let me know if that is not clear.