I have a file which a modified:
$ git status
# On branch master
# Changed but not updated:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: vw_static.vcxproj
#
even after git reset --hard
and git checkout -- vw_static.vcxproj
.
git diff
appears to indicate whitespace (specifically, line termination) differences only.
$ git config core.autocrlf
input
$ git config --global core.autocrlf
input
There is no .git/info/attributes
in this project (and no global .gitattributes
either).
I don't care about line endings in this project, and I am not interested in changing this specific file (especially in committing anything related to it).
All I want is that git status
reports that the tree is unmodified.
How do I get that?