Git command reference


Git is a very powerful source control system. There are some useful commands to try and memorise!


Get the location of the config files used for all the settings in git

git config --list --show-origin

Set your user info

git config --global ""
git config --global "Sample Name"

Add a global proxy for your setup

git config --global http.proxy "http://account:password@proxy:port"

Add a proxy for a given URL:

git config --global http.fullsitename.proxy "http://account:password@proxy:port"

A sample of the above:

git config --global http. "http://mattcorr:password@"

results matching ""

    No results matching ""