xxxxxxxxxx
[diff "jpg"]
textconv = exif
cachetextconv = true
xxxxxxxxxx
* text=auto
*.txt text
*.vcproj text eol=crlf
*.sh text eol=lf
*.jpg -text
xxxxxxxxxx
$ echo "* text=auto" >.gitattributes
$ git add --renormalize .
$ git status # Show files that will be normalized
$ git commit -m "Introduce end-of-line normalization"