fedus / .gitattributes
9818714388n's picture
Update .gitattributes
9632717 verified
# FEDUS Website Project - .gitattributes
# ---------------------------------------
# This file helps Git manage line endings, language detection, and binary assets properly.
# Place this file at the root of your FEDUS project repository.
# -------------------------
# Line endings
# -------------------------
# Normalize line endings to LF in all text files
* text=auto eol=lf
# -------------------------
# Treat binary files properly
# -------------------------
*.jpg binary
*.jpeg binary
*.png binary
*.gif binary
*.webp binary
*.ico binary
*.pdf binary
*.zip binary
*.woff binary
*.woff2 binary
*.ttf binary
*.otf binary
# -------------------------
# HTML / CSS / JS files should always be treated as text
# -------------------------
*.html text
*.css text
*.js text
*.json text
*.xml text
*.yml text
*.md text
*.txt text
*.csv text
# -------------------------
# OS specific files ignore
# -------------------------
*.DS_Store export-ignore
Thumbs.db export-ignore
# -------------------------
# GitHub linguist settings (for better language stats)
# -------------------------
*.css linguist-language=CSS
*.js linguist-language=JavaScript
*.html linguist-language=HTML
# -------------------------
# Merge handling for config files
# -------------------------
package-lock.json merge=union
yarn.lock merge=union
# -------------------------
# Export-ignore files (won’t be included in zip releases)
# -------------------------
.gitignore export-ignore
.gitattributes export-ignore
README.md export-ignore
# -------------------------
# Mark main web assets as safe text files
# -------------------------
*.scss text
*.ts text
*.tsx text
*.vue text
# -------------------------
# End of File
# -------------------------