Skip to content

Instantly share code, notes, and snippets.

@kitmenke
Created December 28, 2015 22:20
Show Gist options
  • Save kitmenke/024722aea1f3471f2200 to your computer and use it in GitHub Desktop.
Save kitmenke/024722aea1f3471f2200 to your computer and use it in GitHub Desktop.
# Source: https://coderwall.com/p/euwpig/a-better-git-log
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
# Source: http://durdn.com/blog/2012/11/22/must-have-git-aliases-advanced-examples/
git config --global alias.ll "log --pretty=format:\"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]\" --decorate --numstat"
git config --global alias.s "status --short"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment