Tuesday, January 20, 2015

Ref: Git: Using Different User Emails for Different Repositories

A good solution for the problem is here.

Simply by putting "(none") under .gitconfig.

[user]
 name = Your Name
 email = "(none)"
Then git config user.email in each repository.