Add comprehensive global gitignore configuration

- Add global gitignore with 50+ common patterns
- Include macOS files (.DS_Store, .AppleDouble, etc.)
- Cover editor files (.vscode/, .idea/, *.swp, etc.)
- Handle development files (node_modules/, .env, *.log, etc.)
- Add Python build artifacts and cache files
- Include temporary and backup file patterns
- Add Claude Code settings ignore pattern
- Manage OS-specific files (Windows/macOS)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Yan Lin 2025-07-27 19:54:34 +02:00
parent ca1e620f5d
commit 42af3047b2

View file

@ -7,6 +7,77 @@
userName = "Yan Lin"; userName = "Yan Lin";
userEmail = "github@yanlincs.com"; userEmail = "github@yanlincs.com";
ignores = [
# Claude Code
"**/.claude/settings.local.json"
# macOS
".DS_Store"
".AppleDouble"
".LSOverride"
"Icon"
"._*"
".DocumentRevisions-V100"
".fseventsd"
".Spotlight-V100"
".TemporaryItems"
".Trashes"
".VolumeIcon.icns"
".com.apple.timemachine.donotpresent"
# Editors
".vscode/"
".idea/"
"*.swp"
"*.swo"
"*~"
".vim/"
# Development
"node_modules/"
".env"
".env.local"
".env.*.local"
"*.log"
"npm-debug.log*"
"yarn-debug.log*"
"yarn-error.log*"
# Python
"__pycache__/"
"*.py[cod]"
"*$py.class"
".Python"
"build/"
"develop-eggs/"
"dist/"
"downloads/"
"eggs/"
".eggs/"
"lib/"
"lib64/"
"parts/"
"sdist/"
"var/"
"wheels/"
"*.egg-info/"
".installed.cfg"
"*.egg"
# Temporary files
"*.tmp"
"*.temp"
"*.bak"
"*.backup"
"*~"
# OS generated files
"Thumbs.db"
"ehthumbs.db"
"Desktop.ini"
"$RECYCLE.BIN/"
];
extraConfig = { extraConfig = {
credential.helper = ""; credential.helper = "";