Skip to content

Commit

Permalink
Add .gitattributes to enforce unix line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
mdedetrich committed Nov 14, 2022
1 parent 38ca3e0 commit 61465f9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Activate line ending normalization, setting eol will make the behavior match core.autocrlf = input
* text=auto eol=lf
# Force batch scripts to always use CRLF line endings
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf

0 comments on commit 61465f9

Please sign in to comment.