[BUG] Issue with Update() command in Git Bash

Resolved 💬 5 comments Opened Nov 24, 2025 by davidrimshnick Closed Jan 26, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Getting this error in Git Bash in WIndows every time it tries to use the Update() function: ●

Believe it is probably something to do with line ends (e.g. Read() returns something different?)

What Should Happen?

Should work properly

Error Messages/Logs

Update(...)
  ⎿  Error: File has been unexpectedly modified. Read it again before attempting to write it.

Steps to Reproduce

Use Claude Code in Git Bash

Claude Model

Not sure / Multiple models

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.0.51

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

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