aws / aws/amazon-q-developer-cli
Amazon Q CLI blocks git autocomplete for git branch --set-upstream-to command
- Dominant language
- Rust
- Stars
- 2k
- Forks
- 439
- PR merge metrics
- No merged PRs in 30d
Description
### 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
```
Contributor guide
Assessment
This issue has not been assessed yet.