Last active
September 19, 2021 23:11
-
-
Save ViRGiL175/fad0e017c4bb638584c7233717b5122b to your computer and use it in GitHub Desktop.
Pretty aliases for Git log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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