github / github/copilot-cli

Branch picker should show local branches, not only remote branches

Offen
#3,905 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:sessions
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

## 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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Es ist keine Datei oder kein Test benannt. Beginne damit, den Branch-Auswahldialog für die Erstellung von Copilot CLI-Sitzungen zu finden, und verfolge, wie dessen Branch-Daten geladen werden. Aktualisiere den Auswahldialog so, dass sowohl nur lokal vorhandene als auch Remote-Branches verfügbar sind, und führe anschließend die relevanten CLI-Tests aus oder überprüfe manuell, dass eine Sitzung auf einem noch nicht gepushten lokalen Branch basieren kann.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

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

Neue Issues direkt in Ihr Postfach

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