Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 83 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# Auto detect text files and normalize line endings to LF
* text=auto eol=lf

# Explicitly set text files to LF
*.ts text eol=lf
*.tsx text eol=lf
*.js text eol=lf
*.jsx text eol=lf
*.json text eol=lf
*.md text eol=lf
*.txt text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.css text eol=lf
*.html text eol=lf
*.svg text eol=lf
*.sql text eol=lf
*.env text eol=lf
*.lock text eol=lf

# Config and certificate files
*.conf text eol=lf
*.pem text eol=lf
*.crt text eol=lf

# Keep binary files as-is
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.woff binary
*.woff2 binary
*.ttf binary
*.eot binary

# Archives
*.zip binary
*.tar binary
*.gz binary
*.rar binary

# Executables and libraries
*.exe binary
*.dll binary
*.so binary
*.dylib binary

# Documents
*.pdf binary
*.docx binary
*.xlsx binary
*.pptx binary

# Video
*.mp4 binary
*.webm binary
*.mov binary
*.avi binary
*.mkv binary

# Audio
*.mp3 binary
*.wav binary

# Java
*.class binary
*.jar binary
*.war binary

# Python compiled
*.pyc binary
*.pyo binary

# Databases
*.db binary
*.sqlite binary

# Other binary formats
*.webp binary
*.avif binary
*.otf binary
*.psd binary