Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
git lg: the best git log alias
git config --global --unset alias.lg; git config --global alias.lg "log --graph --abbrev-commit --decorate --date=relative -10 --format=format:'%C(bold blue)%h%C(reset) %C(bold yellow)%d%C(reset) %C(white)%s%C(reset) %C(green)(%ar)%C(reset) %C(dim white)- %an%C(reset)'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment