GIT-IGNORE(1) Git Extras GIT-IGNORE(1)
NAME
git-ignore - Add .gitignore patterns
SYNOPSIS
git-ignore [<pattern>...]
DESCRIPTION
Adds the given _pattern_s to a gitignore file.
EXAMPLES
Too lazy to open up .gitignore? me too! simply pass some patterns:
$ git ignore build "*.o" "*.log"
... added 'build'
... added '*.o'
... added '*.log'
Running git-ignore without a pattern will display the current patterns:
$ git ignore
build
*.o
*.log
AUTHOR
Written by Tj Holowaychuk <tj@vision-media.ca>
REPORTING BUGS
<http://github.com/visionmedia/git-extras/issues>
SEE ALSO
<http://github.com/visionmedia/git-extras>
January 2013 GIT-IGNORE(1)