2 parents 8a1ba5e + 47f76a9 commit 805e5faCopy full SHA for 805e5fa
1 file changed
.gitattributes
@@ -0,0 +1,7 @@
1
+# Normalize line endings on commit; let Git pick per-platform on checkout.
2
+* text=auto
3
+
4
+# Shell scripts must keep LF endings on every platform. A CRLF checkout on
5
+# Windows turns the `#!/usr/bin/env bash` shebang into `bash\r`, which the
6
+# kernel then fails to resolve ("/usr/bin/env: 'bash\r': No such file...").
7
+*.sh text eol=lf
0 commit comments