Skip to content

Instantly share code, notes, and snippets.

@houkanshan
Created March 28, 2012 07:58
Show Gist options
  • Save houkanshan/2224588 to your computer and use it in GitHub Desktop.
Save houkanshan/2224588 to your computer and use it in GitHub Desktop.
git conf
git config --global user.name "houkanshan"
git config --global user.email "xxx"
git config --global color.ui true
git config --global core.editor "vim"
git config --global alias.co checkout
git config --global alias.ci commit
git config --global alias.st status
git config --global alias.br branch
git config --global alias.unstage 'reset HEAD --'
git config --global alias.last 'log -1 HEAD'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment