Skip to content

Commit

Permalink
gitatttributes
Browse files Browse the repository at this point in the history
  • Loading branch information
einarf committed Nov 29, 2024
1 parent f220af7 commit 2553a86
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .gitatttributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto

# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.py text diff=python
*.txt text
*.rst text
*.md text
Makefile text
makefile text

# Declare files that will always have CRLF line endings on checkout.
*.bat text eol=crlf

# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.ttf binary
*.mp3 binary
*.gif binary
*.wav binary
*.gltf binary
*.glb binary
*.obj binary

0 comments on commit 2553a86

Please sign in to comment.