Skip to content

Instantly share code, notes, and snippets.

@sapegin
Created December 21, 2011 12:53
Show Gist options
  • Save sapegin/1505941 to your computer and use it in GitHub Desktop.
Save sapegin/1505941 to your computer and use it in GitHub Desktop.
Git Aliases
git config --global alias.co checkout
git config --global alias.st status
git config --global alias.ci commit
git config --global alias.a add
git config --global alias.glog "log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment