I'd like to work with multiple git-based open source projects from the same machine. For each project, I'd like to associate a differnet user.name
and user.email
as appropriate. For instance, I might want to work on some project called fizz
that is hosted on GitHub, and also work on another project called buzz
that has its own privately-hosted, centralized git server/repo.
For the fizz
project, I'd like to use myname@example.com
as my email, so that when I push changes to the master branch, other collaborators see that as my username/email.
But for the buzz
project, I'd like to user myname@someotherdomain.example.com
, so that when I push changes to its master, collaborators on the buzz
project so that as my email.
Unless I'm mistaken, EGit seems to only allow me to configure 1 user.name
and user.email
. How can I get around this? Thanks in advance!