`/diff` allows you to choose base branch for `branch diff` view
Nessuno ha ancora preso questa issue.
- 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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- 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