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

Adding second entry point for git to discover #4

Closed WorldSEnder closed 6 years ago

WorldSEnder commented 6 years ago

In this PR

Closes #3

For discussion:

We could make the script automatically work on the .gitignore file in the git root directory? Currently it always affects the current working directory.

TejasQ commented 6 years ago

Thanks so much for the pull-request!

About the point of discussion, I'm happy to discuss it in a separate issue, but I'd generally be very careful when working with root files on someone's computer. I'd rather it be only scoped to the user's current project in order to be safe.