diff --git a/quad/.gitattributes b/quad/.gitattributes
new file mode 100644
index 0000000000000000000000000000000000000000..584baa1760615c3964859499eb37b615f58da3bb
--- /dev/null
+++ b/quad/.gitattributes
@@ -0,0 +1,7 @@
+# Always use lf line endings in this folder
+* text eol=lf
+
+# These are text files
+*.c text
+*.h text
+