Git Multiple Accounts

One can configure an individual repo to use a specific user / email address which overrides the global configuration. Run the specified command on root of repo:

git config user.name "Your Name Here"
git config user.email your@email.com

whereas the default user / email is configured in your ~/.gitconfig

git config --global user.name "Your Name Here"
git config --global user.email your@email.com

Leave a comment