diff --git a/.gitattributes b/.gitattributes index 68acdb5da..4e8490d51 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,10 +4,17 @@ *.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 @@ -15,13 +22,11 @@ SECURITY.md linguist-documentation # --------------------------------------- # Exclude generated/config files -*.json linguist-generated -*.lock linguist-generated -*.yml linguist-generated -*.yaml linguist-generated +# --------------------------------------- .github/** linguist-generated .vscode/** linguist-generated # --------------------------------------- # Standard text handling +# --------------------------------------- * text=auto eol=lf diff --git a/.gitignore b/.gitignore index e03fc3273..f762e9ee1 100644 --- a/.gitignore +++ b/.gitignore @@ -2,17 +2,14 @@ .DS_Store Thumbs.db -# Editor & IDE files (keeping .vscode settings but ignoring unnecessary metadata) +# Editor & IDE files !.vscode/ .vscode/*.workspace .vscode/*.tmp -# Log and Cache files +# Log files logs/ *.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* # Install scripts and temporary files install/tmp/ @@ -26,7 +23,7 @@ vm/*.vmdk vm/*.iso vm/*.bak -# Miscellaneous temporary or unnecessary files +# Miscellaneous temporary files *.bak *.swp *.swo @@ -34,22 +31,7 @@ vm/*.bak *.tmp *.backup -# JSON configuration backups +# JSON temporary files +json/ json/*.bak json/*.tmp -json/.vscode/ - -# Ignore compiled binaries or packaged artifacts -*.exe -*.dll -*.bin -*.deb -*.rpm -*.tar.gz -*.zip -*.tgz - -# Ignore repository metadata or Git itself -.git/ -.gitignore -.vscode/settings.json