github / github/app

New worktree on an existing branch

Ouverte
#1,981 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Aucune donnée de langage
Étoiles
2.1k
Forks
153
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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 |

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
github
Domaine
desktop
Type d'issue
Fonctionnalité
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
66/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.