github / github/app

New worktree on an existing branch

Offen
#1,981 0 Kommentare 0 Reaktionen 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

I'd like to create a new session in a new worktree of a GitHub repo, starting from a specific branch. There doesn't seem to be a way: if I select "New worktree" in the dropdown I can only select the `master`/default branch (while if I select "Local" I can switch among the various local branches).

In theory I can create a new worktree and then checkout the branch I want, but it's time- (and token-) consuming. It should be technically simple to add this as a valid option through the UI.

---
| Field | Value |
| --- | --- |
| App version | 1.0.22 |
| OS | Windows 10.0.26200 |
| Theme | GitHub |
| Path | /chat |
| Tenure | Week 5 |

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Reproduce the flow at /chat by opening the “New worktree” dropdown and compare it with the “Local” branch selector. Trace how branch choices are populated, then verify that an existing local branch can be selected and that the new worktree starts from it.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
github
Bereich
desktop
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
66/100

Neue Issues direkt in Ihr Postfach

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