From: Thomas Rast <trast@student.ethz.ch>
To: Stephen Kelly <steveire@gmail.com>
Cc: <git@vger.kernel.org>
Subject: Re: Wish: make commiter email address configurable per-repo
Date: Fri, 7 Jan 2011 14:20:40 +0100 [thread overview]
Message-ID: <201101071420.40570.trast@student.ethz.ch> (raw)
In-Reply-To: <ig73o1$lbg$1@dough.gmane.org>
Stephen Kelly wrote:
> So for some git repos in KDE which I work on on work time, I'd like to set a
> different committer address. I can't just set GIT_COMMITTER_EMAIL or
> whatever in my bashrc, because in other repos I want to use a different
> committer email, and don't want it set globally for all git repos I work on.
>
> This doesn't seem to be configurable in git config. Can that be changed?
See user.email in git-config(1). Most people set it globally, as in
git config --global user.email "author@example.com"
but there's nothing stopping you from doing
git config user.email "alias@example.com"
to set it on a per-repo level. (Or just edit .git/config, of course.)
--
Thomas Rast
trast@{inf,student}.ethz.ch
next prev parent reply other threads:[~2011-01-07 13:21 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-07 13:16 Wish: make commiter email address configurable per-repo Stephen Kelly
2011-01-07 13:20 ` Thomas Rast [this message]
2011-01-07 13:23 ` Stephen Kelly
2011-01-07 13:43 ` Thomas Rast
2011-01-07 18:01 ` Stephen Kelly
2011-01-07 18:19 ` Erik Faye-Lund
2011-01-20 18:44 ` Junio C Hamano
2011-01-08 8:03 ` [PATCH] Introduce new configuation option to override committer information Ramkumar Ramachandra
2011-01-08 19:24 ` Stephen Kelly
2011-01-09 10:29 ` [PATCH v2] " Ramkumar Ramachandra
2011-01-09 17:24 ` Jonathan Nieder
2011-01-11 13:41 ` Stephen Kelly
2011-01-11 14:19 ` Ramkumar Ramachandra
2011-01-11 14:42 ` Thomas Rast
2011-01-20 19:00 ` Junio C Hamano
2011-01-20 11:16 ` Stephen Kelly
2011-01-20 12:52 ` Thomas Rast
2011-01-20 15:24 ` Stephen Kelly
2011-01-20 19:19 ` Jonathan Nieder
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=201101071420.40570.trast@student.ethz.ch \
--to=trast@student.ethz.ch \
--cc=git@vger.kernel.org \
--cc=steveire@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).