mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
719 B
719 B
git-ignore(1) -- Ignore untracked files
SYNOPSIS
git-ignore [<pattern>...]
DESCRIPTION
Adds the given _pattern_s to a gitignore file.
OPTIONS
EXAMPLES
To 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>