claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

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

Open davidrimshnick opened this issue 2 months ago • 2 comments

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

davidrimshnick avatar Nov 24 '25 21:11 davidrimshnick