Skip to content

Instantly share code, notes, and snippets.

@hungtatai
Last active December 12, 2016 05:43
Show Gist options
  • Save hungtatai/49d3c2e254d7b18a814b94580aa71265 to your computer and use it in GitHub Desktop.
Save hungtatai/49d3c2e254d7b18a814b94580aa71265 to your computer and use it in GitHub Desktop.
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.df diff
git config --global alias.cur "rev-parse --abbrev-ref HEAD" # get current branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment