The ultimate tool to automatically generate .gitignore files for your projects in seconds!
Manually creating .gitignore files can be time-consuming and error-prone.
With auto-gitignore, you can instantly generate a .gitignore file tailored for your project. 🚀
- No more searching online for templates
- No more forgetting to ignore
node_modules/ - No more committing unnecessary files
This tool was inspired by the countless times developers had to Google "Node.js .gitignore" or "React .gitignore"—only to copy-paste the same thing over and over. Not anymore! 🎉
npm install -g auto-gitignore
This allows you to run the command from anywhere on your system.
npm install auto-gitignore
This lets you run the command inside a project using npx.
npx auto-gitignore
This will run the latest version without installing it globally.
Once installed, simply run:
🌍 Global Usage (If Installed Globally)
auto-gitignore
npx auto-gitignore
The tool will ask which language/framework you are using and automatically create the perfect .gitignore file! 🛠️
🔧 How It Works 1. Prompts you to select a language or framework 2. Fetches a pre-configured .gitignore template 3. Generates & saves the .gitignore file in your project
It’s that simple! 🎉
1️⃣ Run the Command
auto-gitignore
2️⃣ Select Your Tech Stack
3️⃣ Enter!!
✔ .gitignore file successfully created! 🚀
ISC License © 2025 Sanket
Want to improve auto-gitignore? PRs are welcome!
If you like this project, please consider starring ⭐ the repo or sharing it with your friends! Got suggestions? Open an issue! 🚀