Skip to content

Commit

Permalink
Git always handle shell file with LF line ending
Browse files Browse the repository at this point in the history
  • Loading branch information
Dramelac committed Aug 24, 2024
1 parent a8d74d4 commit d936a24
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Default behavior, in case people don't have core.autocrlf set.
* text=auto

# Handle python file as text
*.py text

# Every shell file must be cloned with LF line ending
*.sh text eol=lf

0 comments on commit d936a24

Please sign in to comment.