diff options
author | Steffen Prohaska <prohaska@zib.de> | 2007-08-14 00:05:50 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-08-13 23:34:38 -0700 |
commit | 180787c48f21c40a047ae3ee5432821d7e033e44 (patch) | |
tree | ddc774e8fc862a2572d978426db88f812c065406 /ident.c | |
parent | Add a test for git-commit being confused by relative GIT_DIR (diff) | |
download | tgif-180787c48f21c40a047ae3ee5432821d7e033e44.tar.xz |
Improved hint on how to set identity
The first thing we teach in the tutorial is to set the default
identity in $HOME/.gitconfig using "git config --global". The
suggestion in the error message should match the order, while
hinting that per repository identity can later be configured
differently.
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ident.c')
-rw-r--r-- | ident.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -185,11 +185,11 @@ static const char *env_hint = "\n" "Run\n" "\n" -" git config user.email \"you@email.com\"\n" -" git config user.name \"Your Name\"\n" +" git config --global user.email \"you@email.com\"\n" +" git config --global user.name \"Your Name\"\n" "\n" -"To set the identity in this repository.\n" -"Add --global to set your account\'s default\n" +"to set your account\'s default identity.\n" +"Omit --global to set the identity only in this repository.\n" "\n"; const char *fmt_ident(const char *name, const char *email, |