Last active
March 24, 2023 01:58
-
-
Save Brayan-724/8a8eadfe4b76648a4fce53a33b9459a7 to your computer and use it in GitHub Desktop.
Beautiful git log [WITH SCREENSHOT] compatible with bash, zsh, fish and any other shell. Based on https://medium.com/@joelmalone/a-better-git-log-8748bfed7a3b
This file contains hidden or 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
# Beautiful git log compatible with bash, zsh, fish and any other shell | |
# based on: https://medium.com/@joelmalone/a-better-git-log-8748bfed7a3b | |
git log --graph --all --decorate --format=format:'%C(dim)%h - %C(reset)%C(bold cyan)%ah %C(green)(%ar)%C(yellow)%d%C(reset)%n'' %s%C(dim white) - %an%C(reset)' | |
# As alias | |
alias glol=git log --graph --all --decorate --format=format:'%C(dim)%h - %C(reset)%C(bold cyan)%ah %C(green)(%ar)%C(yellow)%d%C(reset)%n'' %s%C(dim white) - %an%C(reset)'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SCREENSHOT OF OUTPUT:
