git config --global user.name calvimor
git config --global user.email [email protected]
git config --global core.editor vim|atom
git config --global core.autocrlf true|false|input
git config --global color.ui true
git config --global help.autocorrect 1|0
First initialize a git repo, then you can set this configuration within git directory. You should do this setup when you need to use another values for this repository just
git config user.name "carlos villamizar"
git config user.email [email protected]
git config --global alias.st status
git config --global alias.br branch
git config --global alias.co checkout
git config --global alias.ci commit
git config --global alias.l 'log --color --graph --pretty=oneline --decorate --date=short --abbrev-commit --branches'
git config --global alias.ds 'diff --stat'
git config unset <name.value>
git config unset --global <alias.abbr>
Some commads for setup your git ;)