Git commands Claude runs can't prompt you for credentials or trust unknown SSH hosts anymore.
What's wrong with this entry?
Git commands run by Claude Code now start from a scrubbed environment rather than inheriting yours. Terminal prompting is disabled, the credential helper is blanked, the Windows credential manager is set to non-interactive, and SSH runs with BatchMode=yes and StrictHostKeyChecking=yes. A repo's own hooks path is also checked against /dev/null.
- The rev-parse call now passes an option that stops the parent environment being extended into the child.
- Effect: a git operation that would have blocked waiting for a password or a host-key confirmation now fails fast instead of hanging.
core.sshCommand=ssh -o BatchMode=yes -o StrictHostKeyChecking=yes
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.234
Stale editor bridge connections are dropped instead of read
Both mention integration
-
v2.1.234
Git remote URLs can no longer smuggle a different host
Both mention integration
-
v2.1.236
Change detection ignores custom diff drivers and submodules
Both mention integration