Subject: Files used by git config (Re: Challenge with Git-Bash)

From: Jonathan Nieder <[email-masked]>
Date: Sun, 18 Jul 2010 13:16:19 -0500

Hi again,

Rainer Lauer wrote:

> Where is following information stored?
> Command:  git config --global user.name="Rainer Lauer".

I recommend looking that the user manual[1] to start out.  It
has a few relevant hints.

From the preface:

	Comprehensive reference documentation is available
	through the man pages, or git-help(1) command. For
	example, for the command "git clone <repo>", you can
	either use:

	$ man git-clone

	or:

	$ git help clone

From the start to “chapter 3: developing with git”:

	Before creating any commits, you should introduce
	yourself to git. The easiest way to do so is to make sure
	the following lines appear in a file named .gitconfig in
	your home directory:

	[user]
		name = Your Name Comes Here
		email = [email-masked]

	(See the "CONFIGURATION FILE" section of git-config(1)
	for details on the configuration file.)

Regards,
Jonathan

[1] http://kernel.org/pub/software/scm/git/docs/user-manual.html