Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 790 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 790 Bytes

Gitignore

This is a small tool that helps you to merge github/gitignore presets into your .gitignore file

Install

git clone git://github.com/github/gitignore
export GITIGNORE_REPO="`cd gitignore; pwd`"
git clone git://github.com/tilltheis/utilities.git
ln -s "`pwd`/utilities/gitignore" /usr/local/bin/gitignore
echo "Please add the following to the end of your ~/.bashrc (~/.profile on Mac):"
echo "export GITIGNORE_REPO='${GITIGNORE_REPO}'"

Usage

description: Update the local .gitignore from a repository of predefined ignore lists.

usage: gitignore language
usage: gitignore 'list'

example: gitignore Ruby
example: gitignore Global/Eclipse
example: gitignore list