-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Make pr edit dynamically look up PR based on current branch #3003
Copy link
Copy link
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 feature or problem you’d like to solve
The newly released gh pr edit command requires passing the PR number. This conflicts with the UX of other pr commands, like gh pr view, which finds related PRs for the current branch.
Proposed solution
Make gh pr edit lookup the PR for the current branch, and only require an explicit argument if none is found. This would unify the experience.
Reactions are currently unavailable
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
Type
Fields
Give feedbackNo fields configured for issues without a type.