From: Nicholas LaRoche <nlaroche@vt.edu>
To: git@vger.kernel.org
Subject: Can `git config` override entries in .gitconfig?
Date: Tue, 23 Dec 2008 07:05:46 -0500 [thread overview]
Message-ID: <4950D41A.5050009@vt.edu> (raw)
Is there a direct way to change the user.email entry for a git
repository for one user (applied to all previous commits)?
I tried `git config --unset user.email` followed by `git config
user.email email2` but it just sets a second field called user.email
that shows up in `git config -l` as a duplicate. My ~/.gitconfig file
contains email1 for the user.email entry.
Also, when the repository is created can I specify a second set of
contact information (i.e. using a project specific email) which isn't a
part of ~/.gitconfig?
output of `git config -l`:
user.email=email1
..
..
user.email=email2
Regards,
Nick
next reply other threads:[~2008-12-23 12:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-23 12:05 Nicholas LaRoche [this message]
2008-12-23 17:59 ` Can `git config` override entries in .gitconfig? Johan Herland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4950D41A.5050009@vt.edu \
--to=nlaroche@vt.edu \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.