user-manual: use 'git config --global user.*' for setup

A simple command line call is easier than spawning an editor, especially for folks new to ideas like the "command line" and "text editors". This is also the approach suggested by 'git commit' if you try and commit without having configured user.name or user.email. Signed-off-by: W. Trevor King <wking@tremily.us> Signed-off-by: Junio C Hamano <gitster@pobox.com>

W. Trevor King committed Feb 17, 2013 at 19:15 UTC 632cc3e6b687c48998223eb49fc465bcb3a9c1d2
1 file changed +13 -5
Documentation/user-manual.txt
+13 -5
@@ -991,9 +991,16 @@ Developing with git
991 Telling git your name
992 ---------------------
993
994 -Before creating any commits, you should introduce yourself to git. The
995 -easiest way to do so is to make sure the following lines appear in a
996 -file named .gitconfig in your home directory:
994 +Before creating any commits, you should introduce yourself to Git.
995 +The easiest way to do so is to use linkgit:git-config[1]:
996 +
997 +------------------------------------------------
998 +$ git config --global user.name 'Your Name Comes Here'
999 +$ git config --global user.email 'you@yourdomain.example.com'
1000 +------------------------------------------------
1001 +
1002 +Which will add the following to a file named `.gitconfig` in your
1003 +home directory:
1004
1005 ------------------------------------------------
1006 [user]
@@ -1001,8 +1008,9 @@ file named .gitconfig in your home directory:
1008 email = you@yourdomain.example.com
1009 ------------------------------------------------
1010
1004 -(See the "CONFIGURATION FILE" section of linkgit:git-config[1] for
1005 -details on the configuration file.)
1011 +See the "CONFIGURATION FILE" section of linkgit:git-config[1] for
1012 +details on the configuration file. The file is plain text, so you can
1013 +also edit it with your favorite editor.
1014
1015
1016 [[creating-a-new-repository]]