From: Stephen Kelly Date: Fri, 07 Jan 2011 13:23:21 GMT Subject: Re: Wish: make commiter email address configurable per-repo Message-ID: In-Reply-To: <201101071420.40570.trast@student.ethz.ch> 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?