In my ~/.gitconfig, I list my personal email address under [user], since that\'s what I want to use for Github repos.
~/.gitconfig
[user]
But, I\'ve recently s
You can also use git commit --author "Your Name " at the moment of doing a commit in a repo where you want to commit as a different user.
git commit --author "Your Name "