github / github/app

It looks like worktrees are implicitly created for sessions.

Offen
#2,615 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Keine Sprachdaten
Sterne
2.1k
Forks
153
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

It looks like worktrees are implicitly created for sessions. I think that there should be some prompt, at least the first time, to ask what branch the worktree should be created from.

For example, I was working my local dotnet/roslyn repo, which has both `origin` and `upstream` remotes. My `origin/master` branch is from ~2021. I think `upstream` has no `master` branch--we migrated from `master`->`main` naming. So I was super confused when the agent could not find stuff that I expected to be there.

If it had just asked me first (possibly recommending a default), what branch/ref to create the worktree off of, then the confusion could have been avoided.

---
| Field | Value |
| --- | --- |
| App version | 1.1.3 |
| OS | Windows 10.0.26200 |
| Theme | GitHub |
| Path | /chat |
| Tenure | Day 1 |

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by tracing the session flow that implicitly creates worktrees, then reproduce it with a repository that has multiple remotes and differing default branches. Check how branch/ref selection is currently determined. Done means the first relevant session prompts for the worktree base branch or ref, with a clear default, and avoids silently choosing an unexpected branch.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
git
Bereich
desktop, developer-experience, tooling
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.