aboutsummaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2018-07-10 13:28:47 +0200
committerPeter Mikus <pmikus@cisco.com>2018-07-11 04:22:17 +0000
commit872afaeb84d70de7b0c01336a9d1f6da611f3438 (patch)
tree311970d771a0b713faccc73aab2475979619d471 /.gitattributes
parent7d3d925e126384ec5ee463422c240e284f9cabe3 (diff)
Add .gitattributes to make endlines automatic
Change-Id: I9d58a5b0623c1b9d218e805fa619b324765f97a5 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes16
1 files changed, 16 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000000..de1048f3a3
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,16 @@
+# Set the default behavior, in case people don't have core.autocrlf set.
+* text=auto
+
+# Explicitly declare text files you want to always be normalized and converted
+# to native line endings on checkout.
+*.robot text
+*.rst text
+*.yaml text
+*.vat text
+
+## Declare files that will always have CRLF line endings on checkout.
+#*.sln text eol=crlf
+
+# Denote all files that are truly binary and should not be modified.
+*.png binary
+*.jpg binary