mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-21 18:19:59 +00:00
Add .gitattributes (#310)
This makes life much easier when working on Windows. And makes sure all of the codes are committed with LF as EOL char.
This commit is contained in:
parent
dc627bf398
commit
1fa3e6ae46
36
.gitattributes
vendored
Normal file
36
.gitattributes
vendored
Normal file
|
@ -0,0 +1,36 @@
|
|||
#
|
||||
# Makes sure all files detected as text have LF as the EOL character,
|
||||
# and leaves all files detected as binary untouched.
|
||||
#
|
||||
|
||||
* text=auto eol=lf
|
||||
|
||||
#
|
||||
# Text files
|
||||
#
|
||||
|
||||
# Example
|
||||
# *.ext text
|
||||
|
||||
#
|
||||
# Binary files (binary is a macro for -text -diff)
|
||||
#
|
||||
|
||||
# Minified web files
|
||||
*.min.css binary
|
||||
*.min.js binary
|
||||
|
||||
# Images
|
||||
*.png binary
|
||||
*.jpg binary
|
||||
*.jpeg binary
|
||||
*.gif binary
|
||||
*.ico binary
|
||||
|
||||
# Fonts
|
||||
*.svg binary
|
||||
*.ttf binary
|
||||
*.woff binary
|
||||
*.woff2 binary
|
||||
*.eot binary
|
||||
*.otf binary
|
Loading…
Reference in a new issue