github / github/copilot-cli

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

Aberta
#4,635 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

triage
Linguagem predominante
Shell
Estrelas
11.2k
Forks
1.9k
Merge médio
14h 16min
PRs com merge (30d)
6

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
shell
Domínio
cli
Tipo de issue
Funcionalidade
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Ativa
Clareza
Razoavelmente clara
Facilidade para iniciantes
68/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.