github / github/app

New worktree on an existing branch

未关闭
#1,981 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
没有语言数据
星标
2.1k
派生
153
PR 合并指标
30 天内没有已合并 PR

描述

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 |

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
github
领域
desktop
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
66/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。