aboutsummaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorGravatar Daniel Brown <[email protected]>2019-09-20 16:16:53 -0500
committerGravatar Daniel Brown <[email protected]>2019-09-20 16:16:53 -0500
commitf2951fddfdebbee2d7a445b58b52d1cf8ced7ac8 (patch)
tree9fbecdf38cd3bbcc4b1264c665167fc93de61bed /.gitattributes
parentNuke `pysite.dockerapp`. (diff)
Line Ending Fix
Added .gitattributes to prevent Windows users from accidentally cloning the repo and getting incorrect line endings Also adjusting the shebang for the migrate_and_serve.sh to prevent another Windows related bug
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000..a90a0a96
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,3 @@
+# Declare files that will always have LF line endings on checkout
+# This prevents git on Windows from automatically inserting CRLF line endings
+* text=auto eol=lf \ No newline at end of file