a .gitconf file template
$ git clone https://github.com/driver2000/git-dotfiles.git
$ cd git-dotfiles
$ ln -s gitconfig ~/.gitconfig
$ git config --local user.name your name
$ git config --local user.email your_mail@mail.com
if you want set user.name
and user.email
globally use --global
instead --local
or edit the conf file directly :
$ git config -e