summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-03-02 08:09:38 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-03-02 08:09:38 +0200
commit1a22d770bf1ce015f4b3aa21d5d2a182af24927a (patch)
tree67072d093afd9f9b69b04097503cbd2004fe8283
parentf5521c62ebee39c379738fcd6c8572deb8b21524 (diff)
Add .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