Created
November 18, 2022 18:26
-
-
Save eliocapelati/06c3eecd36af614a5ff40461afd4992f to your computer and use it in GitHub Desktop.
Create a log line for visualizing commit log tree, ref:https://ma.ttias.be/pretty-git-log-in-one-line/
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
git config --global alias.logline "log --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