loading...

re: gitignore.io is great! VIEW POST

FULL DISCUSSION
 

I had no idea there was a cli, I always just use CURL. I generally use pretty similar .gitignore's depending on the type of project that I am working on.

I keep this one as a shell alias

alias ignore='curl https://www.gitignore.io/api/vim,node,data,emacs,python,pycharm,executable,sublimetext,visualstudio,visualstudiocode > .gitignore'
 

It's just a shell script, but working at function level.

I do this quite often.

gi macos,node > .gitignore 

You can't misspell, though. For example, it must be node not node.js or nodejs.

 

You miss the ' ' in the alias, anyway cool.

 

Thanks for the catch, fixed it

Code of Conduct Report abuse