You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The --repo flag is redundant when running gh pr create #423
The --repo flag is redundant when running gh pr create from within a local clone of the repository. The GitHub CLI automatically detects the target repository from the git remotes.
changed the title [-]he `--repo` flag is redundant when running `gh pr create` [/-][+]The `--repo` flag is redundant when running `gh pr create` [/+]on Apr 4, 2026
Hi @jbampton, I’d like to work on issue #423. I understand that the redundant --repo flag should be removed from the gh pr create command when run from inside the repository.
Could you please assign this issue to me and confirm the exact file that should be updated?
The
--repoflag is redundant when runninggh pr createfrom within a local clone of the repository. The GitHub CLI automatically detects the target repository from the git remotes.Originally posted by @gemini-code-assist[bot] in #420 (comment)