summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-02-28 21:56:26 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-02-29 18:33:07 +0300
commite45f2fe60a2ab1065f20f6a379ac94a6304e26ac (patch)
tree3e44818e2875e096f8044a028231c984e4965036 /.gitattributes
parent2842e90f3326bd2d9d3f7bd01e3616af8432a12b (diff)
Add .gitattributes file
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes19
1 files changed, 19 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..9fce1b0
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,19 @@
+# This is a good default: files that are auto-detected by git to be text are
+# converted to the platform-native line ending (LF on Unix, CRLF on Windows)
+# in the working tree and to LF in the repository.
+#
+* text=auto
+
+# Use `eol=crlf` for files that should have the CRLF line ending both in the
+# working tree (even on Unix) and in the repository.
+#
+#*.bat text eol=crlf
+
+# Use `eol=lf` for files that should have the LF line ending both in the
+# working tree (even on Windows) in the repository.
+#
+#*.sh text eol=lf
+
+# Use `binary` to make sure certain files are never auto-detected as text.
+#
+#*.png binary