diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2012-06-19 19:29:29 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2012-06-20 10:05:10 +0200 |
commit | 1eb3698dc3759afe537d8ff868efe587150c5ce0 (patch) | |
tree | 1fcd114488557aba4cf25b5e9a9df614a921bcd5 | |
parent | ed0a294d89ed82a31ac01bdb66c0a27f78212082 (diff) |
improve docu about gpush.alias.*
Change-Id: If0ee43aead0ba220c7800aa15ab3ad05106f8af0
Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
-rwxr-xr-x | bin/git-gpush | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/bin/git-gpush b/bin/git-gpush index bb3b1b0..28560e1 100755 --- a/bin/git-gpush +++ b/bin/git-gpush @@ -35,10 +35,13 @@ Description: have aliases set either locally in the current repository, globally (in your ~/.gitconfig), or system-wide. - You can and alias in your global git config like this: + You can add aliases to your global git config like this: git config --global gpush.alias.<alias key> <alias value> - and if you only want it local in the current repository, just drop - the --global option. + and if you only want it to be local to the current repository, + just drop the --global option. + Note that git config keys are constrained regarding allowed + characters, so it is impossible to map some IRC nicks via git + configuration. An alias may contain multiple comma-separated email addresses; for example, to set a single alias for an entire team. |