claude-code
claude-code copied to clipboard
[BUG] Issue with Update() command in Git Bash
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