github / github/copilot-cli

Branch picker should show local branches, not only remote branches

Aperta
#3,905 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area:sessions
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Non è indicato alcun file né test. Inizia individuando il selettore dei branch per la creazione delle sessioni di Copilot CLI e segui come vengono caricati i relativi dati dei branch. Aggiorna il selettore in modo che siano disponibili sia i branch solo locali sia i branch remoti, quindi esegui i test CLI pertinenti oppure verifica manualmente che una sessione possa essere basata su un branch locale non ancora sottoposto a push.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
git, github, shell
Ambito
cli
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
65/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.