Adding git-ignore patterns from template was inside git-create-branch documentation.

This commit is contained in:
Leandro López 2011-12-31 12:17:12 -02:00
parent 40b131d9cc
commit 3c26c94972

View file

@ -293,6 +293,12 @@ $ git ignore build "*.o" "*.log"
... added '*.log'
```
Add patterns from an existing template:
```bash
$ git ignore -t rails
```
Without any patterns, `git-ignore` displays currently ignored patterns:
```bash
@ -310,12 +316,6 @@ Create local and remote branch `name`:
$ git create-branch development
```
Add patterns from an existing template:
```bash
$ git ignore -t rails
```
## git-delete-branch <name>
Delete local and remote branch `name`: