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
Written by Lee
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#