[Bug]: Pushing commit to a fork's PR goes to the wrong remote
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 55/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- git, github
调研方向
首先,使用来自 fork 的 pull request,复现从创建 workspace 到 commit 按钮的流程。跟踪 push 期间如何选择 PR 分支和远程仓库,然后验证 commit 被发送回 fork 的分支,而不是用户的 origin。
由索引模型根据 Issue 内容生成。
描述
Platform
macOS
Operating system version
macOS Tahoe 26.3.1 (a)
System architecture
ARM64 (M1, M2, etc)
PolyScope Version
0.15.0
Bug description
If I create a workspace from a PR, and that PR belongs to an outside contributor (i.e. its from a fork), when I push a commit Polyscope/Claude will push it to my own repo's origin (with the same branch name used in the PR) rather than back to the fork's branch.
Steps to reproduce
- Create workspace from pull request. The PR must be from a fork.
- Make a change
- Click the commit button
Relevant log output
- 主要语言
- 没有语言数据
- 星标
- 20
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
beyondcode/polyscope-community 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 4/5 3-5 天 新手友好度 45/100
-
难度 4/5 3-5 天 新手友好度 45/100
-
难度 4/5 3-5 天 新手友好度 38/100
beyondcode/polyscope-community#198 · 1 条评论 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 52/100
查看 beyondcode/polyscope-community 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
stephrobert/dsoxlab#238 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
sublimehq/package_control#1780 ·
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
typelevel/sbt-typelevel#929 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
antfu-collective/icones#398 ·