diff --git a/.gitattributes b/.gitattributes
index d3c138141e12e8fd8d81a0db7118bbb14232bde9..5a62f584af9e018129653d8a8d817030636e839b 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -10,7 +10,7 @@
 *.txt  text
 *.TXT  text
 *.json text
-*.bat  text
+*.bat  text eol=crlf
 *.mak  text
 *.mk   text
 makefile text
@@ -18,4 +18,8 @@ Makefile text
 GNUmakefile text
 *.bin  -text
 *.cnf  -text
+*.ans text eol=crlf
+*.ANS text eol=crlf
+*.asc text eol=crlf
+*.msg text eol=crlf