This seems like a bug in msysgit indeed. As a workaround, try creating a .gitattributes file containing
* -text
This will tell git not to perform EOL conversions on any files.
More Related Contents:
- git status shows modifications, git checkout — doesn’t remove them
- How do I revert all local changes in Git managed project to previous state?
- How line ending conversions work with git core.autocrlf between different operating systems
- How do I “un-revert” a reverted Git commit?
- Remove specific commit
- Git: list only “untracked” files (also, custom commands)
- Revert a range of commits in git
- How to remove sensitive data from a file in github history
- Trying to understand `git diff` and `git mv` rename detection mechanism
- Why doesn’t Git ignore my specified file?
- Can’t seem to discard changes in Git
- How can I revert a single file to a previous version? [duplicate]
- How to make git status show only staged files
- Git refuses to reset/discard files
- Why does ‘git commit’ not save my changes?
- Is it possible for git-merge to ignore line-ending differences?
- How to add Git’s branch name to the commit message?
- Pull a certain branch from the remote server
- Another git process seems to be running in this repository
- Git submodule url changed
- Git branch strategy for small dev team [closed]
- Convert Mercurial project to Git [duplicate]
- Why does git sign with GPG keys rather than using SSH keys?
- Git – Creating a .gitignore file
- What is the file format of a git commit object data structure?
- How can I make git show a list of the files that are being tracked?
- Can git operate in “silent mode”?
- How do you undo “Discard all changes” in VS Code/Git
- Pushing a large github repo fails with “unable to push to unqualified destination: master”
- Bower install using only https?