Skip to content

Commit

Permalink
fix: check out Bash scripts with LF
Browse files Browse the repository at this point in the history
Always check out Bashs scripts with Unix-style line endings so they work if you
run them inside Docker on Windows.
  • Loading branch information
joelspadin committed Oct 10, 2020
1 parent d38740c commit 5f58193
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 5f58193

Please sign in to comment.