Skip to content
Closed
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
60 changes: 56 additions & 4 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,56 @@
# Normalize line endings to LF for all MD files.
# This overrides core.autocrlf for all contributors regardless of OS,
# so files are always checked out as LF — matching end_of_line = lf in .editorconfig.
*.md text=auto eol=lf
# Auto detect text files and perform LF normalization
* text=auto

# These files are text and should be normalized (Convert crlf => lf)
*.gitattributes text eol=lf
.gitignore text eol=lf
*.md text eol=lf diff=markdown linguist-language=markdown linguist-detectable=true linguist-documentation=false
*.css text eol=lf diff=css
*.htm text eol=lf diff=html
*.html text eol=lf diff=html
*.xhtml text eol=lf diff=html
*.json text eol=lf
*.py text eol=lf diff=python
*.sh text eol=lf diff=bash
*.zsh text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.mmd text eol=lf
*.xml text eol=lf
*.drawio text eol=lf
links/**/* text eol=lf

# Exclude files from exporting
.gitattributes export-ignore
.gitignore export-ignore
.gitkeep export-ignore

# Enable syntax highlighting for files with `.gitattributes` extensions.
*.gitattributes linguist-language=gitattributes linguist-detectable=true linguist-documentation=false

# Graphics
*.ai binary
*.bmp binary
*.eps binary
*.gif binary
*.gifv binary
*.ico binary
*.jng binary
*.jp2 binary
*.jpg binary
*.jpeg binary
*.jpx binary
*.jxr binary
*.pdf binary
*.png binary
*.psb binary
*.psd binary
# SVG treated as an asset (binary) by default.
*.svg text
# If you want to treat it as binary, use the following line instead.
# *.svg binary
*.svgz binary
*.tif binary
*.tiff binary
*.wbmp binary
*.webp binary