Skip to main content
  1. Posts/
  2. 2024/

Getting the pretty 'tree' for 'git log'

·36 words·1 min·
Maciej Kalisiak
Author
Maciej Kalisiak

See: https://stackoverflow.com/questions/1057564/pretty-git-branch-graphs

In short, can use this one-liner:

git log –all –decorate –oneline –graph

You can also make this into its own ‘git’ command (‘git adog’) using:

 git config –global alias.adog “log –all –decorate –oneline –graph”