github / github/copilot-cli

Ability to default PRs to an upstream

Open
#2,318 0 comments 0 reactions 0 assignees View on GitHub
area:configuration area:tools
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the feature or problem you'd like to solve

Many enterprises or Open Source require you to fork the repo and make PRs from your fork. Instead of defaulting PRs to the fork, I'd like an option to open them in the upstream on my behalf

### Proposed solution

Whatever repo is set with 'gh repo set-default` (assuming the user also uses GH CLI) can be referenced for other open issues or pull requests. Being able to set the default repo for pull requests still allows the agent to work in the worktree of the fork but contribute to the end repo the user will eventually need to PR the code into

### Example prompts or workflows

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.