File: git-ignore.md

package info (click to toggle)
git-extras 1.7.0-1.2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 696 kB
  • sloc: sh: 381; makefile: 52
file content (38 lines) | stat: -rw-r--r-- 709 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
git-ignore(1) -- 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 &lt;<tj@vision-media.ca>&gt;

## REPORTING BUGS

&lt;<http://github.com/visionmedia/git-extras/issues>&gt;

## SEE ALSO

&lt;<http://github.com/visionmedia/git-extras>&gt;