summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Spadin <joelspadin@gmail.com>2020-10-10 21:40:22 +0000
committerJoel Spadin <joelspadin@gmail.com>2020-10-10 17:43:52 -0500
commit5f58193cdefed39aca16802772f8eefdebc09513 (patch)
tree8201ee42bf49f0c28934847e211e858a7baf1513
parentd38740cebf3be17a7d55fc51f5f06752182f96d8 (diff)
fix: check out Bash scripts with LF
Always check out Bashs scripts with Unix-style line endings so they work if you run them inside Docker on Windows.
-rw-r--r--.gitattributes6
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..3d05d86
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,6 @@
+* text=auto
+
+# Always use Unix-style line endings for Bash scripts so they work in
+# Docker on Windows.
+.bashrc text eol=lf
+*.sh text eol=lf