github / github/app

“Create from PR” is using `origin/main`, not the tracked `upstream/main`.

Open
#2,831 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
2.1k
Forks
153
PR merge metrics
No merged PRs in 30d

Description

“Create from PR” is using `origin/main`, not the tracked `upstream/main`. In my clone, `origin` points to my fork and is **294 commits behind** (because the fork's main is unused), so the diff's are crazy.

---
| Field | Value |
| --- | --- |
| App version | 1.1.8 |
| OS | Windows 10.0.26200 |
| Theme | GitHub |
| Path | /chat |
| Tenure | Day 7 (Week 1) |

Contributor guide

Open the contributing guide

Research direction

Start in the desktop app's “Create from PR” flow and reproduce the issue with a fork whose origin/main is behind tracked upstream/main. Trace which remote and base branch provide the diff; the work is done when the flow uses upstream/main and produces the expected PR diff in this setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, github
Domain
desktop, developer-experience
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.