Command | Info |
---|---|
git --version |
show installed git version |
git --help [command] |
help for specified command |
git config --global user.name "<username>" |
set git username |
git config --global user.email "<email>" |
set git email |
git config --global --list |
list saved global configs |
Note : All global settings are saved in a file .gitconfig
in your home directory.