Here are some nice-to-have aliases and config setup for git:


git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.ci commit
git config --global alias.st status
git config --global alias.fe fetch
git config --global alias.ps push
git config --global alias.pu pull
git config --global alias.unstage 'reset HEAD --'
git config --global credential.helper cache
git config --global credential.helper "cache --timeout=86400"
git config --global core.editor nano
git config --global color.ui true

Advertisements