Add .gitattributes to make endlines automatic 04/13404/2
authorVratko Polak <vrpolak@cisco.com>
Tue, 10 Jul 2018 11:28:47 +0000 (13:28 +0200)
committerPeter Mikus <pmikus@cisco.com>
Wed, 11 Jul 2018 04:22:17 +0000 (04:22 +0000)
Change-Id: I9d58a5b0623c1b9d218e805fa619b324765f97a5
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
.gitattributes [new file with mode: 0644]

diff --git a/.gitattributes b/.gitattributes
new file mode 100644 (file)
index 0000000..de1048f
--- /dev/null
@@ -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