summaryrefslogtreecommitdiff
path: root/doc/git-howto.txt
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-01-17 21:16:41 +0100
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-01-17 21:16:41 +0100
commit4aaeabcb6ac95ebeec3bb4ed9a4622768b499bc2 (patch)
treec662fca76bf84c2ca90a739b632034731bb3ac8d /doc/git-howto.txt
parent326851b9bc172cda341e13df0c63a467d011eeda (diff)
Explain how to set up user name/email correctly for git.
Diffstat (limited to 'doc/git-howto.txt')
-rw-r--r--doc/git-howto.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/git-howto.txt b/doc/git-howto.txt
index 56232acc16..8b1fc14149 100644
--- a/doc/git-howto.txt
+++ b/doc/git-howto.txt
@@ -130,6 +130,11 @@ I. BASICS:
git add [-i|-p|-A] <filenames/dirnames>
+ Make sure you have told git your name and email address, e.g. by running
+ git config --global user.name "My Name"
+ git config --global user.email my@email.invalid
+ (--global to set the global configuration for all your git checkouts).
+
Git will select the changes to the files for commit. Optionally you can use
the interactive or the patch mode to select hunk by hunk what should be
added to the commit.