Skip to content

Commit

Permalink
infra: add .gitattributes file to prevent CRLF translation in scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckadams committed Oct 16, 2024
1 parent aae9a45 commit 4d52b1f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Force LF only on files where CRLF is deadly; git defaults are fine for the rest.
*.bash text=auto eol=lf
*.sh text=auto eol=lf

0 comments on commit 4d52b1f

Please sign in to comment.