From 3c26c9497205e36884bca2ff4cc02aac9df7b59c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leandro=20L=C3=B3pez?= Date: Sat, 31 Dec 2011 12:17:12 -0200 Subject: [PATCH] Adding `git-ignore` patterns from template was inside `git-create-branch` documentation. --- Readme.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Readme.md b/Readme.md index 6b5b910..cc8fa3b 100644 --- a/Readme.md +++ b/Readme.md @@ -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`: