microsoft / microsoft/vscode-pull-request-github
Auto-fork when when you don't have permissions to commit
@alexr00 已经在做这个了。
开始于 2021年9月21日。
- 主要语言
- TypeScript
- 星标
- 2.6k
- 派生
- 796
- 平均合并
- 1 天 4 小时
- 30 天内合并 PR
- 46
描述
I've started trying to submit PRs via Codespaces and the GitHub Pull Request functionality available through the extension.
There's a fundamental problem with this extension that the GitHub's web editor has already solved: if I don't have permissions to commit to a repository, I can't actually create a PR because I can't push a branch to the remote.
GitHub's web UI solved this by automatically forking and creating a branch for you (optionally allowing you to name the branch yourself, but defaulting to patch-n where n is an incrementing number based off of however many patch-n branches you already have, starting at 1).
Currently, to accomplish the same thing, I need to fork the repo myself (through the web or the gh CLI), change my origin, push to that, then make the PR from the pushed branch. That's a lot more work that is really unnecessarily painful.
Enabling users to have the ability to save their local changes to a fork and PR from that fork rapidly is essential to making Codespaces a good "quick PR" tool, and I'd really love to see it be enabled in that way that.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。