Skip to content

Instantly share code, notes, and snippets.

@maateen
Forked from angstwad/git-lg.sh
Created March 28, 2018 04:47
Show Gist options
  • Save maateen/8dc422a707abc2ed186dd7dcbb248a99 to your computer and use it in GitHub Desktop.
Save maateen/8dc422a707abc2ed186dd7dcbb248a99 to your computer and use it in GitHub Desktop.
Better Git Log (git lg)
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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment