Skip to content

Instantly share code, notes, and snippets.

@ViRGiL175
Last active September 19, 2021 23:11
Show Gist options
  • Save ViRGiL175/fad0e017c4bb638584c7233717b5122b to your computer and use it in GitHub Desktop.
Save ViRGiL175/fad0e017c4bb638584c7233717b5122b to your computer and use it in GitHub Desktop.
Pretty aliases for Git log
[alias]
prettylog = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(yellow)%aD%C(reset) %C(dim yellow)(%ar)%C(reset)%C(auto)%+d%n %<(80,trunc)%C(white)%s%C(reset)%n %C(dim white)by %an%C(reset) %n'
prettybranches = log --graph --abbrev-commit --decorate --simplify-by-decoration --all --format=format:'%C(bold blue)%h%C(reset) - %C(yellow)%aD%C(reset) %C(dim yellow)(%ar)%C(reset)%C(auto)%+d%n %<(80,trunc)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment