Skip to content

Commit

Permalink
Add the .gitattributes file to set LF by default on .sh files since
Browse files Browse the repository at this point in the history
these will run on docker.
  • Loading branch information
jp-tosca committed Nov 3, 2023
1 parent 6cfe43a commit 3f59f72
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# https://www.git-scm.com/docs/gitattributes

# This set mandatory LF line endings for .sh files preventing from windows users to having to change the value of their git config --global core.autocrlf to 'false' or 'input'
*.sh text eol=lf

0 comments on commit 3f59f72

Please sign in to comment.