Skip to content

Commit

Permalink
chore: add .gitattributes to standardize the default end-of-file line (
Browse files Browse the repository at this point in the history
  • Loading branch information
Skyenought authored Nov 6, 2023
1 parent e02c162 commit b8ffcbe
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Handle line endings automatically for files detected as text
# and leave all files detected as binary untouched.
* text=auto eol=lf

# Force bash scripts to always use LF line endings so that if a repo is accessed
# in Unix via a file share from Windows, the scripts will work.
*.sh text eol=lf

0 comments on commit b8ffcbe

Please sign in to comment.