From 4aaeabcb6ac95ebeec3bb4ed9a4622768b499bc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Mon, 17 Jan 2011 21:16:41 +0100 Subject: Explain how to set up user name/email correctly for git. --- doc/git-howto.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc/git-howto.txt') 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] + 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. -- cgit v1.2.3