DEV Community

Discussion on: I created a .gitignore command-line generator !

Collapse
 
vlasales profile image
Vlastimil Pospichal • Edited

Create an alias to Git to write:

git ignore -h          # help
git ignore -a "*.tmp"  # add row
git ignore -e          # edit .gitignore
git ignore -l          # list of templates
git ignore             # show .gitignore
git ignore Node        # select template

... etc. I have an alias git exclude too.