A universal .gitignore
file designed to keep your repository clean and free from unnecessary clutter. Supports a wide range of languages, frameworks, and tools, so you can focus on coding instead of managing ignored files.
- Covers Python, Node.js, Java, .NET, Terraform, Docker, Kubernetes, and more.
- Includes exclusions for OS files, IDE configurations, logs, databases, and secrets.
- Ready to useβjust copy, paste, and commit!
- Clone or download this repository:
git clone https://github.com/CarloSacchi/gitignore-everything.git
- Copy the
.gitignore
file into the root of your project. - Check whatβs ignored using:
git status --ignored
- Modify as neededβcustomize it for your specific use case!
If you accidentally committed files before adding .gitignore
, remove them from tracking:
git rm --cached <file>
Save time by setting up a global ignore file:
git config --global core.excludesfile ~/.gitignore_global
Then copy this .gitignore
content into ~/.gitignore_global
.
Run:
git check-ignore -v <file>
This shows which rule is causing the file to be ignored.
This project is open-source under the MIT License. Feel free to use and modify it!
Have suggestions? Open a pull request or submit an issue!
If you found this useful, give it a β on GitHub and share it with your team!
Letβs keep our repos clean! π