Files used by git config (Re: Challenge with Git-Bash)
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jul 18, 2010, 18:16 UTC
- Message-ID
- <20100718181619.GA14367@burratino>
- In-Reply-To
- <008a01cb26a4$4313e360$c93baa20$@gmx.net>
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 = you@yourdomain.example.com
(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