Git Config

Updated on 28 Dec 2018

Once you have git installed, you will need to set some configuration parameters. These can be done on a global or per project basis. Failure to do so will result in some unpleasant error messages from git.

Setting up your config parameters

In this example I am setting the parameters on a global scale. If I wanted the settings to apply only to the current project, then I would omit --global flag.

git config --global "brent@ubuntu"
git config --global "brent"
git config --global credential.helper store 

Reviewing your config parameters

At some point you’ll probably forget what your configuration settings are. To get a list of your configuration settings, use the following command:

git config --global -l 

Once again you can omit the --global to get additional details about your current project.