-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Closed
Labels
coreThis issue is not accepting PRs from outside contributorsThis issue is not accepting PRs from outside contributorsenhancementa request to improve CLIa request to improve CLI
Description
Describe the bug
I originally used the gh pr create command, which prompted me to pick a base repo. I picked my forked repo instead of the upstream one, and now I'm unsure how to change the base repo so I don't need to prefix every command with --repo. Is there any way to do this?
Steps to reproduce the behavior
- Fork some repo
- Clone repo locally
- create local branch
gh pr create- Pick the forked repo as base.
Expected vs actual behavior
I expected there to be a command like gh repo set or something that will let me configure what the base repo for pushing should be.
Logs
alk-rniveau, katelovescode, ouhman, RinwaOwuogba, geerlingguy and 62 morejgphilpottom2c0de, pixelbrackets, tyrken, jgphilpott, timruffles and 1 more
Metadata
Metadata
Assignees
Labels
coreThis issue is not accepting PRs from outside contributorsThis issue is not accepting PRs from outside contributorsenhancementa request to improve CLIa request to improve CLI