github / github/copilot-cli

`/diff` allows you to choose base branch for `branch diff` view

Aperta
#4,635 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

triage
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

Describe the feature or problem you'd like to solve

In Copilot CLI, the /diff command should allow you to be able to set the base branch when viewing in branch diff mode vs local edits.

Proposed solution

If I'm working on branch b with the following format:
develop -> branch a (feature) -> branch b (jira task)
I want the branch change mode for /diff on branch b to reflect the branch diff vs branch a, not automatically determined develop.

Example prompts or workflows

/diff set-base <branch>

Additional context

No response

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Start at the Copilot CLI implementation of the /diff command and its branch diff mode. Trace how the base branch is currently determined, then assess the proposed /diff set-base <branch> workflow. Done means branch diff mode can use the explicitly selected base branch instead of the automatically determined branch, while local edits remain distinct.

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

Valutazione

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.