A powerful VS Code extension to manage your local git exclusions (.git/info/exclude) without polluting the shared .gitignore. Perfect for local configuration files, secrets, logs, and temporary test files.
✨ Features
🔍 Dedicated Side Panel: A new "Git Status" view in the Activity Bar showing all your modified, untracked, and excluded files.
📦 Multi-Repo Support: Works perfectly with monorepos and nested repositories. Files are automatically grouped by their Git repository.
✅ Bulk Selection: Use checkboxes to select multiple files and exclude them all at once.
↩️ Restore Files: Easily "un-exclude" files from the "Excluded Files" category to bring them back.
⚡ Smart Context Menu:
Add to Git Exclude: Instantly ignore files locally.
Delete File: Remove unwanted files directly from the view.
📝 Direct Control: Open and edit the .git/info/exclude file for any repository with a single click (pencil icon).
🎨 Modern UI: Clean interface with color-coded icons (Green for new/modified, Grey for excluded).
❓ Why use .git/info/exclude?
While .gitignore is great for project-wide ignore patterns shared with your team, sometimes you need to ignore files only on your machine.
The .git/info/exclude file works exactly like .gitignore but is never committed.
Perfect for:
🔑 Local secret.txt or .env files
📝 Personal TODOs or notes
🧪 Temporary test scripts
🔧 IDE-specific configurations
📖 Usage
Using the Side Panel
Click the Git Exclude icon in the Activity Bar.
Browse your repositories and files.
Check boxes to select multiple files and click the Exclude Selected (cloud) icon.
Right-click any file to Exclude, Delete, or Restore it.
Expand the "Excluded Files" folder to see what you've ignored and restore items if needed.
Click the Pencil icon on a repository to manually edit its exclude file.
Using the Explorer
You can also right-click any file or folder in the standard VS Code Explorer and select "Add to Git Exclude".
⚙️ Requirements
VS Code 1.75.0 or higher
A Git repository
🤝 Contributing
Found a bug? Want a feature? Contributions are welcome!