Project specific user info for Git repos

You can have project specific user info for your git repositories.

Normally you set your global info with the use of the –-global flag

git config –-global user.email “me@example.com”

This drops the user.email in the global .gitconfig file.

But, if you leave out the –-global flag and you are inside a project folder you can override the global settings.

git config user.email “otherme@example.com”

This will drop the user.email in the config file under the .git folder in your project.