How can I show the name of branches in the output of git log?
For example with, git log --graph --all I get a nice overview of the commits but get confused which line is master, and which is my branch for example.
To show the name of the branch in git log you can use decorate option:
git log --graph --all --decorate
I will give the names of commits that are pointed to tags or branches.