github / github/copilot-cli

Branch picker should show local branches, not only remote branches

オープン
#3,905 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:sessions
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

## Description

When creating a new session in the Copilot CLI app, the branch picker only lists branches from GitHub (remote). Local-only branches that haven't been pushed are not visible.

## Use case

A common developer workflow is to work on a local branch first and push to remote only when the work is done. Currently this workflow is not supported because:

1. You create a local branch and start working
2. You want to open a Copilot CLI session based on that branch
3. The branch doesn't appear in the picker because it hasn't been pushed yet

## Expected behavior

The branch picker should list both local and remote branches, allowing users to base their session on a local branch without having to push it first.

## Current behavior

Only remote (GitHub) branches are shown in the branch picker.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

ファイル名もテスト名も指定されていません。まず、Copilot CLI のセッション作成時に使用するブランチピッカーを見つけ、そのブランチデータがどのように読み込まれているかを追跡してください。ローカルにしか存在しないブランチとリモートブランチの両方を利用できるようにピッカーを更新し、その後、関連する CLI テストを実行するか、未 push のローカルブランチを基にセッションを作成できることを手動で確認してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
git, github, shell
領域
cli
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
65/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。