[FEATURE] Windows git command CRLF messages

Resolved 💬 2 comments Opened Feb 12, 2026 by davidmanheim Closed Mar 13, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

I run Claude in Windows, and every time it commits to git, it uses LF instead of CRLF, generating unnecessary warnings.

Proposed Solution

I'd prefer either writing the files correctly so warnings are not generated, or at least by default suppressing the git warnings to not waste tokens.

Alternative Solutions

Added:

Claude Code Preferences

Git warnings: Suppress CRLF and other noisy git warnings (use -c core.safecrlf=false or redirect stderr
+) to conserve tokens.

Priority

Medium - Would be very helpful

Feature Category

File operations

Use Case Example

  1. There is any change to any file tracked by git
  2. Claude commits to git on my windows machine.
  3. That's it.

Additional Context

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗