beyondcode / beyondcode/polyscope-community

[Bug]: Pushing commit to a fork's PR goes to the wrong remote

未關閉
#116 2 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
沒有語言資料
星號
20
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

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

```shell

```

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

首先,使用來自 fork 的 pull request,重現從建立 workspace 到 commit 按鈕的流程。追蹤 push 期間如何選取 PR 分支和遠端儲存庫,然後確認 commit 會傳回 fork 的分支,而不是使用者的 origin。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
git, github
領域
developer-experience, tooling
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
55/100

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

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