
Useful git config settings
This is a summary of useful git config commands. Git settings exist in a hierachy, for Windows the default locations are: System wide - %programfiles%\Git\etc\gitconfig Global - %userprofile%.gitconfig Local to the repository - .git/config Common global properties These ones are recommended to be set after Git has been installed: git config --global user.name "your name" git config --global user.email [email protected] Overriding properties Settings lower in the hierachy override, so for example, if you need to use a different user name and email for a particular repository: