github / github/copilot-cli

'No copilot-instructions.md found' notice is misleading when global config exists

Fechada
#3,409 0 comentários 0 reações 0 responsáveis Ver no GitHub
area:configuration
Linguagem predominante
Shell
Estrelas
11.2k
Forks
1.9k
Merge médio
14h 16min
PRs com merge (30d)
6

Descrição

### Describe the bug

When opening the Copilot CLI outside of a git repository, the notice `No copilot-instructions.md found. Run /init to generate.` is misleading. it implies no instructions file was found at all, even when a global `~/.copilot/copilot-instructions.md` exists and is being used.

### Affected version

GitHub Copilot CLI 1.0.49.

### Steps to reproduce the behavior

1. Create a global instructions file at `~/.copilot/copilot-instructions.md`
2. Open Copilot CLI from a directory that is not a git repository
3. Observe the notice: `No copilot-instructions.md found. Run /init to generate.`

### Expected behavior

1. Create a global instructions file at `~/.copilot/copilot-instructions.md`
2. Open Copilot CLI from a directory that is not a git repository
3. Observe the notice: `No repository-level copilot-instructions.md found. Run /init to generate.`

### Additional context

_No response_

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

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