From f1825ebfde5e122962c73c1f8c006f6e70d29a0d Mon Sep 17 00:00:00 2001 From: Tim Green Date: Fri, 18 Apr 2014 17:30:47 +0100 Subject: [PATCH] Add --global' to alias helpers --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 440dc5b..4a54196 100644 --- a/README.md +++ b/README.md @@ -657,19 +657,19 @@ To add an alias, either navigate to `~/.gitconfig` and fill it out in the follow ...or type in the command-line: ```bash -$ git config alias.new_alias git_function +$ git config --global alias.new_alias git_function ``` For example: ```bash -$ git config alias.cm commit +$ git config --global alias.cm commit ``` For an alias with multiple functions use quotes: ```bash -$ git config alias.ac 'add -A . && commit' +$ git config --global alias.ac 'add -A . && commit' ``` Some useful aliases include: