tj.git-extras/git-ignore.md
Tj Holowaychuk 759312c402 Docs
2010-10-31 18:42:52 -07:00

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>

SEE ALSO

<http://github.com/visionmedia/git-extras>