Skip to content

Commit

Permalink
Create .gitattributes
Browse files Browse the repository at this point in the history
  • Loading branch information
MattHalloran committed Jul 16, 2024
1 parent 2560b7b commit a02b15c
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Force all line endings to be LF, since the project is
# always ran in a Unix-based environment.
* text=auto
* text eol=lf

#
# The above will handle all files NOT found below
#
# These files are text and should be normalized (Convert crlf => lf)
*.css text
*.html text
*.java text
*.js text
*.json text
*.properties text
*.sh text
*.ts text
*.txt text
*.xml text
*.conf text

# These files are binary and should be left untouched
# (binary is macro for -text -diff)
*.class binary
*.jar binary
*.gif binary
*.jpg binary
*.png binary
*.rlib binary
*.rmeta binary
*.wasm binary
*.dylib binary

0 comments on commit a02b15c

Please sign in to comment.