Setting the username and email for your GIT Repo

Use the following code to set the default username for your git repo

git config --global user.name "jfernandez"

and the following to check:

git config --global user.name

Use the following code to set the default email for your git repo

git config --global user.email "hello@toffy.com.au"

and the following to check:

git config --global user.email

Comments

Join the discussion!