For those of you who frequently navigate through branches and tags in your git repositories, you may find the --simplify-by-decoration option of the git log command very helpful. This option allows you to condense the log output to show just the commits that are branch tips or tags, making it easier to get a high-level overview of the commit history.

If you’re using the Oh My Zsh git plugin, you might already be familiar with the glola alias:

alias glola='git log --graph --pretty="%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset" --all'

To extend the functionality of glola and include the branch and tag decoration simplification, here is my new alias:

alias glolas="glola --simplify-by-decoration"

With this alias, you can quickly see a decorated and simplified view of your git commit history, focusing only on the major points like branches and tags.