Skip to content

Commit

Permalink
Add .gitattributes to prevent cross-platform line endings errors
Browse files Browse the repository at this point in the history
  • Loading branch information
connortann committed Feb 10, 2022
1 parent 81ed015 commit 194e7b3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .gitattributes
@@ -0,0 +1,7 @@

# Ensure git handles line endings correctly
# Set the default behavior, in case core.autocrlf is not set.
* text=auto

# Ensure shell scripts are strictly linux-style
*.sh text eol=lf

0 comments on commit 194e7b3

Please sign in to comment.