Skip to content

Instantly share code, notes, and snippets.

@sanguis
Created September 12, 2011 13:59
Show Gist options
  • Save sanguis/1211316 to your computer and use it in GitHub Desktop.
Save sanguis/1211316 to your computer and use it in GitHub Desktop.
alias.df !git diff --no-prefix && git diff --staged --no-prefix
alias.clear reset --hard
alias.st status
alias.lg log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
alias.co checkout
alias.con checkout -b
alias.ci commit
alias.br branch
alias.ls branch -a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment