chore(vault): rebuild git infra (gitignore/attributes/mailmap/hooks)

This commit is contained in:
hehaiguang1123
2026-07-01 08:18:43 +08:00
parent a971d9f625
commit e166ef1052
6 changed files with 161 additions and 11 deletions
+45
View File
@@ -0,0 +1,45 @@
# Normalize line endings and mark binaries for cross-platform consistency
# Default: text with LF (cross-platform canonical)
* text=auto eol=lf
# Windows scripts keep CRLF
*.ps1 text eol=crlf
*.cmd text eol=crlf
*.bat text eol=crlf
# Shell/Unix scripts use LF
*.sh text eol=lf
# Obsidian text artifacts
*.md text eol=lf
*.base text eol=lf
*.canvas binary
*.json text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
# Binary assets (no diff noise, no line-ending conversion)
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.webp binary
*.ico binary
*.svg binary
*.pdf binary
*.epub binary
*.docx binary
*.pptx binary
*.xlsx binary
*.mp4 binary
*.mov binary
*.webm binary
*.mp3 binary
*.wav binary
*.zip binary
*.gz binary
*.7z binary
*.tar binary
*.exe binary
*.dll binary