Files
ProxmoxVE/.gitattributes
CanbiZ (MickLesk) 487403be61 Refine .gitattributes and clean .gitignore
Improve language/statistics settings and tidy ignore rules: .gitattributes now marks *.func as detectable, excludes ct/headers/* and markdown docs from language stats, classifies generated/config files (json/lock/yml) as linguist-generated, and enforces text=auto eol=lf. .gitignore was reorganized and simplified: .vscode is explicitly preserved (!.vscode/), obsolete debug/temp entries were removed, and overly broad ignores for compiled artifacts and Git metadata were dropped to avoid accidentally hiding repository files.
2026-04-15 15:23:34 +02:00

33 lines
1.0 KiB
Plaintext

# ---------------------------------------
# Treat Shell files as first-class code
# ---------------------------------------
*.sh linguist-detectable=true
*.bash linguist-language=Shell
*.func linguist-language=Shell
*.func linguist-detectable=true
*.install linguist-language=Shell
# ---------------------------------------
# Exclude header art from stats
# ---------------------------------------
ct/headers/* linguist-documentation
# ---------------------------------------
# Exclude documentation from stats
# ---------------------------------------
*.md linguist-documentation
README.md linguist-documentation
CONTRIBUTING.md linguist-documentation
SECURITY.md linguist-documentation
# ---------------------------------------
# Exclude generated/config files
# ---------------------------------------
.github/** linguist-generated
.vscode/** linguist-generated
# ---------------------------------------
# Standard text handling
# ---------------------------------------
* text=auto eol=lf