From 675f7cbdb64331286140f56755e9ff74f19f4aad Mon Sep 17 00:00:00 2001 From: beepscore Date: Sun, 24 Jan 2016 08:26:47 -0800 Subject: [PATCH] Make line endings more cross platform for OS X and Windows. Add .gitattributes. On OS X this should help users use native lf instead of Windows crlf. On OS X in vim, Windows line endings appear as ^M. Reference https://help.github.com/articles/dealing-with-line-endings --- .gitattributes | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..dc6fb73 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +# https://help.github.com/articles/dealing-with-line-endings/ +# Set the default behavior, in case people don't have core.autocrlf set. +* text=auto