summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes22
1 files changed, 22 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..703390b
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,22 @@
+# Default behaviour, in case users don't have core.autocrlf set
+* text=auto
+
+# Explicitly declare text files we want to always be normalized and
+# converted to native line endings on checkout
+*.java text
+*.properties text
+*.xml text
+*.css text
+*.js text
+*.html text
+
+
+# shell scripts must always use lf
+*.sh text eol=lf
+
+
+# binary files, should never be modified
+*.png binary
+*.jpg binary
+*.pdf binary
+*.jar binary