Settings

Theme

A collection of useful .gitignore templates

github.com

2 points by panchtatvam · 1 comment

Reader

1 thread
skibz

These templates are also used by gitignore.io

I made a simple alias for generating a .gitignore using their service:

ignore = "!gi() { curl -L -s https://www.gitignore.io/api/$@ > .gitignore;}; gi"

Example usage:

git ignore 'node,osx'

Note that the alias is potentially destructive! So some may prefer to do the output redirection themselves, especially if there is an existing .gitignore to which you wish to append.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection