Skip to content

lendrik-kumar/auto-gitignore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 auto-gitignore

The ultimate tool to automatically generate .gitignore files for your projects in seconds!

🔥 Never manually create a .gitignore again! 🚀

npm
license
downloads

🎯 Why auto-gitignore?

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! 🎉


📦 Installation

Global Installation (Recommended for CLI Users)

npm install -g auto-gitignore

This allows you to run the command from anywhere on your system.

🔹 Project Installation (For Local Use Inside a Project)

npm install auto-gitignore

This lets you run the command inside a project using npx.

🔹 No Install? No Problem! (Run Directly with npx)

npx auto-gitignore This will run the latest version without installing it globally.

🚀 Usage

Once installed, simply run:

🌍 Global Usage (If Installed Globally)

auto-gitignore

📁 Local Project Usage (If Installed in a Project)

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! 🎉

🎯 Example

1️⃣ Run the Command

auto-gitignore

2️⃣ Select Your Tech Stack

3️⃣ Enter!!

✔ .gitignore file successfully created! 🚀

📜 License

ISC License © 2025 Sanket

🤝 Contributing

Want to improve auto-gitignore? PRs are welcome!

🌟 Support & Feedback

If you like this project, please consider starring ⭐ the repo or sharing it with your friends! Got suggestions? Open an issue! 🚀

About

A npm package to create .gitignore

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors