diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000000000000000000000000000000000000..371d4e42ce65da107e5ea37e111a92c3f0238406
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,12 @@
+* text=auto
+
+*.css           text
+*.html          text
+*.ldif          text
+*.md            text
+*.properties    text
+*.txt           text
+*.xml           text
+
+*.jar           -text
+*.png           -text