Finding / gemini-cli

2026-10-24-gemini-cli-preview-restores-user-git-configuration-while-disabling-interactive-credential-prompts

Preview restores user Git configuration while disabling interactive credential prompts. The hardened shell/Git environment no longer forces global Git configuration to the null device; a nonempty explicit global-config path is retained and otherwise normal user configuration can apply. System configuration remains disabled and selected sensitive settings remain overridden. The Git helper disables terminal credential prompting, SSH askpass and interactive credential-manager prompts, with SSH BatchMode on its helper path.

Channel: preview-or-beta. Half: both. Date: 2026-10-20.

Operator consequence: Test 0.66.0-preview.0 if agent Git operations depend on user identity, URL rewrites or other legitimate global configuration. Recheck effective Git settings and pre-provision authentication: restoring configuration can remove repeated setup work, while noninteractive authentication converts an unattended prompt into a failure. Do not infer that all hooks or credential helpers are restored, or that every shell-launched SSH command gets the helper’s exact environment.

Receipt

Finding metadata

Run: 2026-10-24-weekly-digest-2026-10-13_2026-10-24-frontier-v0

Finding ID: 2026-10-24-gemini-cli-preview-restores-user-git-configuration-while-disabling-interactive-credential-prompts

Profile citations

Source links

Primary links, including exact changelog lines when available.