This is a git plugin to add file or dir to gitignore file
make sure $GOPATH/bin in PATH
install with golang
go install github.com/hellojukay/git-ignore
git clone git@github.com:dvcs/gitignore.git tmp && mv tmp $HOME/.gitignore && rm -rf tmp
add a git ignore template file
// git ignore init
git ignore i
clean git ignore file
git ignore clean