Skip to content

Commit

Permalink
chore: added gitattributes
Browse files Browse the repository at this point in the history
  • Loading branch information
meza committed Jan 13, 2024
1 parent 1c42826 commit 7ae84c4
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
###############################
# Git Line Endings #
###############################

# Set default behaviour to automatically normalize line endings to lf.
* text eol=lf

# Force batch scripts to always use CRLF line endings so that if a repo is accessed
# in Windows via a file share from Linux, the scripts will work.
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf

# Force bash scripts to always use LF line endings so that if a repo is accessed
# in Unix via a file share from Windows, the scripts will work.
*.sh text eol=lf

# Archives
*.7z binary
*.br binary
*.gz binary
*.tar binary
*.zip binary

# Documents
*.pdf binary

# Images
*.gif binary
*.ico binary
*.jpg binary
*.pdf binary
*.png binary
*.psd binary
*.webp binary

# Fonts
*.woff2 binary

# Other
*.exe binary

0 comments on commit 7ae84c4

Please sign in to comment.