[PATCH] config: Rummage through ~/.gitrc as well as the repository's config.
- From
- Mark Wooding <mdw@distorted.org.uk>
- Date
- Feb 3, 2006, 20:33 UTC
- Message-ID
- <20060203203332.2718.13451.stgit@metalzone.distorted.org.uk>
From: Mark Wooding <mdw@distorted.org.uk>
I'm fed up of setting user.email in every repository I own. I want to put this somewhere central, and I shouldn't have to log in again to make it take effect.
Signed-off-by: Mark Wooding <mdw@distorted.org.uk> ---
Documentation/git.txt | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Documentation/git.txt b/Documentation/git.txt index e8ef3ef..eab3d46 100644 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@ -468,6 +468,10 @@ people. Here is an example: Various commands read from the configuration file and adjust their operation accordingly. +You can also have a global configuration file, in exactly the same +format, in the file `.gitrc` in your home directory. This is a handy +place to put your name and email address. + Identifier Terminology ----------------------