summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-10-11 07:52:17 -0400
committerGitHub <noreply@github.com>2020-10-11 07:52:17 -0400
commitba73e5d4ac295cc67e03fca9f80030022b8f529c (patch)
treec5a96ec0719f02d9911f258c9ac4e14773a9eb5b
parenta7e8655287e93ce16c14c191dd8e6eca13fa48db (diff)
parent5f58193cdefed39aca16802772f8eefdebc09513 (diff)
Merge pull request #262 from joelspadin/windows-docker-fix
fix: check out Bash scripts with LF
-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