Setting global git config

Setting the correct git config is a good indicator of a good dev and in some areas a requirement i.e. github will verify your commits if they can prove it came from you and a source that it knows to be verified.

I won’t go down the rabbit hole of git configuration as their documentation goes into all of the detail required… there is a lot of it; you can find that here –> https://git-scm.com/docs/git-config

On to the bare bones of git config you will need are the following …

# List your current global configuration
git config --global -l

# Set your name and email for all commits to use globally
git config --global user.name "<insert your name>"
git config --global user.email "<insert your email>"

Look into the link above for the dozen’s of config settings you can tweak, happy git-ing! 🙂