JAL-1551 CRLF handling
[jalview.git] / .gitattributes
diff --git a/.gitattributes b/.gitattributes
new file mode 100644 (file)
index 0000000..ecd18ce
--- /dev/null
@@ -0,0 +1,8 @@
+# force text file line endings to LF (Unix style) on commit
+# see https://help.github.com/articles/dealing-with-line-endings/#per-repository-settings
+* text=auto
+
+# see also http://git-scm.com/book/en/Customizing-Git-Git-Configuration#Formatting-and-Whitespace
+# Users should set a git/config entry of
+#    core.autocrlf = true # for Windows
+#    core.autocrlf = input # for Mac 
\ No newline at end of file