github / github/copilot-cli

Ability to default PRs to an upstream

未關閉
#2,318 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:configuration area:tools
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### 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_

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。