Skip to content

Instantly share code, notes, and snippets.

@outro56
Last active January 9, 2024 14:58
Show Gist options
  • Star 23 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save outro56/31e588e5622dcf7931de0aee49baa7b2 to your computer and use it in GitHub Desktop.
Save outro56/31e588e5622dcf7931de0aee49baa7b2 to your computer and use it in GitHub Desktop.
git lol
git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
git config --global alias.lol "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
@rafaelrojasmiliani
Copy link

with --all you can also see the other branches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment