You can give this a try:
git log --graph --all --decorate --simplify-by-decoration
It will only show commits that are branch heads or tagged.
You can give this a try:
git log --graph --all --decorate --simplify-by-decoration
It will only show commits that are branch heads or tagged.