Last Updated: February 25, 2016
·
346
· geetotes

Setting git username and email

This is one of the things I always ignore off the bat, then when I decide to do it, I end up spending 15 minutes googling how to do it:

git config --global user.name "Your Name"
git config --global user.email you@example.com

And to add you new identity to a commit:

git commit --amend --reset-author