mirror of
https://github.com/sstent/TESTSITE.git
synced 2025-12-06 06:01:53 +00:00
72 lines
1.3 KiB
Plaintext
72 lines
1.3 KiB
Plaintext
## https://github.com/Danimoth/gitattributes/blob/e9c4312cabdbcf7f66205f3c3271336d4563e92c/Web.gitattributes
|
|
|
|
# These settings are for any web project
|
|
|
|
# Handle line endings automatically for files detected as text
|
|
# and leave all files detected as binary untouched.
|
|
* text=auto
|
|
|
|
#
|
|
# The above will handle all files NOT found below
|
|
#
|
|
|
|
# These files are text and should be normalized (Convert crlf => lf)
|
|
*.php text
|
|
*.css text
|
|
*.js text
|
|
*.htm text
|
|
*.html text
|
|
*.xml text
|
|
*.txt text
|
|
*.ini text
|
|
*.inc text
|
|
.htaccess text
|
|
|
|
# These files are binary and should be left untouched
|
|
# (binary is a macro for -text -diff)
|
|
*.png binary
|
|
*.jpg binary
|
|
*.jpeg binary
|
|
*.gif binary
|
|
*.ico binary
|
|
*.mov binary
|
|
*.mp4 binary
|
|
*.mp3 binary
|
|
*.flv binary
|
|
*.fla binary
|
|
*.swf binary
|
|
*.gz binary
|
|
*.zip binary
|
|
*.7z binary
|
|
*.ttf binary
|
|
|
|
|
|
## https://github.com/Danimoth/gitattributes/blob/e9c4312cabdbcf7f66205f3c3271336d4563e92c/Common.gitattributes (partial)
|
|
|
|
# Documents
|
|
*.doc diff=astextplain
|
|
*.DOC diff=astextplain
|
|
*.docx diff=astextplain
|
|
*.DOCX diff=astextplain
|
|
*.dot diff=astextplain
|
|
*.DOT diff=astextplain
|
|
*.pdf diff=astextplain
|
|
*.PDF diff=astextplain
|
|
*.rtf diff=astextplain
|
|
*.RTF diff=astextplain
|
|
|
|
# Graphics
|
|
*.png binary
|
|
*.jpg binary
|
|
*.jpeg binary
|
|
*.gif binary
|
|
*.ico binary
|
|
*.svg text
|
|
|
|
|
|
## Custom attributes for mdwiki & github pages
|
|
|
|
*.md text
|
|
*.json text
|
|
CNAME text
|