Re: Wish: make commiter email address configurable per-repo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx"

but there's nothing stopping you from doing

  git config user.email "alias@xxxxxxxxxxx"

to set it on a per-repo level.  (Or just edit .git/config, of course.)

-- 
Thomas Rast
trast@{inf,student}.ethz.ch
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]