TejasQ / add-gitignore

An interactive CLI tool that adds a .gitignore to your projects.
https://www.npmjs.com/package/add-gitignore
MIT License
675 stars 14 forks source link
cli git gitignore interactive nodejs

add-gitignore

This tiny CLI script that generates a .gitignore file for your projects.

add-gitignore demo

Usage

You'll want to make sure you have NodeJS installed on your computer. Then, setup is as simple as:

If you've got an older version of node that doesn't yet have npx, here's a more traditional setup:

Alternatively, running just add-gitignore gives you a nice multi-select interface from which you can choose what to ignore, and using the --help flag helps you out.

Special Thanks

I hope this makes your life easier.

Made with ❤️.