How to setup git username / email
When working with a git repository, commits have a name and email attached to them. This post explains how to update these values.
On a mac: open a terminal session and run the following commands.
All Repos
git config --global user.name "FIRST_NAME LAST_NAME"
git config --global user.email "MY_NAME@example.com"
Single Repo
git config user.name "FIRST_NAME LAST_NAME"
git config user.email "MY_NAME@example.com"
Check settings from git
git config user.name
git config user.email
Check settings from config file
cat .git/config