Skip to content

Instantly share code, notes, and snippets.

@yi
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yi/9172832 to your computer and use it in GitHub Desktop.
Save yi/9172832 to your computer and use it in GitHub Desktop.
git aliases
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.unstage 'reset HEAD --'
git config --global alias.last 'log -1 HEAD'
git config --global alias.df 'diff'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment