From: Junio C Hamano Date: Thu, 20 Jan 2011 18:44:09 GMT Subject: Re: Wish: make commiter email address configurable per-repo Message-ID: <7vfwsns9dy.fsf@alter.siamese.dyndns.org> In-Reply-To: Stephen Kelly writes: > Thomas Rast wrote: > >> 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.) > > Doesn't this set both the author and the committer? And the reason why that is a bad thing is...?