aws / aws/amazon-q-developer-cli
Amazon Q CLI blocks git autocomplete for git branch --set-upstream-to command
- Lingua principale
- Rust
- Stelle
- 2k
- Fork
- 439
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### Checks
- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again
### Operating system
Linux 5.10.236-208.928.amzn2int.x86_64 - Amazon Linux 2
### Expected behaviour
Git autocomplete should work normally within Amazon Q CLI sessions, particularly for commands like git branch --set-upstream-to where seeing available remote branches is especially helpful.
### Actual behaviour
When using Amazon Q CLI, git autocomplete functionality doesn't work properly for the git branch --set-upstream-to command. The autocomplete suggestions that would normally appear in a regular shell don't come through.
### Steps to reproduce
In a git repo, type `git branch --set-upstream-to ` tab. Normally, for git it should show origin or other remote. With q, it's only showing local branches and flags.
### Environment
```yaml
[q-details]
version = "1.9.1"
hash = "5d2c2807cab9bc6c9dc5fcd05f92c7a979e8a4f7"
date = "2025-04-29T06:21:28.508115Z (21d ago)"
variant = "minimal"
[system-info]
chip = "AMD EPYC 7R13 Processor"
total-cores = 48
memory = "184.89 GB"
[system-info.os.linux]
kernel_version = "5.10.236-208.928.amzn2int.x86_64"
id = "amzn"
name = "Amazon Linux"
pretty_name = "Amazon Linux 2"
version_id = "2"
version = "2"
variant = "internal"
[environment]
os = "Linux"
shell-path = "/usr/bin/bash"
shell-version = "4.2.46"
install-method = "unknown"
in-ssh = true
[env-vars]
QTERM_SESSION_ID = "d4352b27ff2d4152bbbdb28f8dc188c7"
Q_PARENT = "/tmp/q-parent-d7a5c6208e3b44b198519b035b57c555.socket"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.9.1"
SHELL = "/bin/bash"
TERM = "xterm-256color"
[chat-settings]
interactive=true
[chat-trusted_tools]
[chat-failed_request_ids]
none
[chat-context]
current_profile=default
profiles=
default
global_context=
.amazonq/rules/**/*.md
README.md
AmazonQ.md
profile_context=none
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo `git branch --set-upstream-to ` seguito da Tab in una sessione Bash all'interno di Amazon Q CLI, quindi confronta i suggerimenti con quelli di una shell normale. Traccia la gestione del completamento della shell da parte della CLI per questo comando; il lavoro è completato quando rami remoti come `origin` compaiono insieme ai rami locali e ai flag esistenti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- bash, git
- Ambito
- cli, developer-experience
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 42/100