til

Today I Learned: collection of notes, tips and tricks and stuff I learn from day to day working with computers and technology as an open source contributor and product manager

View project on GitHub

Set your email for a repository

If you use git for both work and play, but not necessarily the all on GitHub or the like, it is nice to separate user data like email

Globally:

$ git config --global user.email "your_email@example.com"

Per repository:

$ git config user.email "your_email@example.com"

Source: Github

And when you find out after you have checked out a lot of repositories

$ find . -type d -maxdepth 1 -exec bash -c "cd '{}' ; git config user.email 'your_email@example.com'"  \;

References