diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000000000000000000000000000000000000..0739632b9da30d54d33a351e74dac60c4ec32910
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,14 @@
+# Autodetect text files
+* text=auto
+
+# ...Unless the name matches the following
+# overriding patterns
+
+# Definitively text files 
+*.txt text
+*.c text
+*.h text
+
+# Ensure those won't be messed up with
+*.jpg binary
+*.data binary
\ No newline at end of file