Gemini CLI Fix: Prevents Terminal Freeze from Background Git Ops
DavidAPierce · ghdev · 2026-09-01
This PR resolves a critical issue in Google Gemini CLI where background Git extension updates or clones caused the terminal TUI to freeze by hijacking stdin for credential prompts. The fix implements a createNonInteractiveGit helper, configuring simple-git with GITTERMINALPROMPT=0 and GITSSHCOMMAND flags, and adds a 15s timeout for background network checks. This ensures the CLI remains responsive, especially with slow or authenticated private remotes.
More from Infra
- Rumor: Tencent and ByteDance may have snapped up Envision's Xinghe Phase I, leaving DeepSeek no Huawei 950DT capacity — teortaxesTex · 2026-12-02
- RightNow Mini open-sourced: 729 tok/s on one GPU and 92/100 SWE-bench, zero weight changes — victormustar · 2026-12-02
- Hyperscaler capex forecasts keep getting revised up, consensus now at $1.2T — ben_j_todd · 2026-12-02
- NVIDIA Sentry monitors AI agents and contains threats in milliseconds — nvidia · 2026-12-02
- Vector Institute spinout AutoInference launches with $8M to cut AI inference costs — VectorInst · 2026-12-02
- Not an AI bust: miners lost $500bn but Korea chip exports jumped 265% — McDonaghMatthew · 2026-12-02