My Git Config

Global preferences

Posted by David Van Loon on September 29, 2018

I like to configure git to sign my commits with GPG and use the Visual Studio Code Insiders editor for config files and diffs.

To edit your global git configuration, run the following at the command line:

git config --global --edit

To compare two commits using the default difftool, run the following:

git difftool <commit1> <commit2>