github / github/app

New worktree on an existing branch

オープン
#1,981 コメント 0 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。