From 20a849b92fbedf3951e1d3614a9ba090a39dff86 Mon Sep 17 00:00:00 2001 From: Valery Viktorovsky Date: Sun, 23 Jun 2013 12:01:01 +0300 Subject: [PATCH] Forcedly set file type by extension. --- .gitattributes | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.gitattributes b/.gitattributes index 176a458..818cb6a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,23 @@ +# Autodetect text files * text=auto + +# ...Unless the name matches the following overriding patterns + +# Definitively text files +*.php text +*.css text +*.js text +*.txt text +*.md text +*.xml text +*.json text +*.bat text +*.sql text +*.xml text +*.yml text + +# Ensure those won't be messed up with +*.png binary +*.jpg binary +*.gif binary +*.ttf binary