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.
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.
Try the decorate option.
git log --graph --all --decorate
It annotates commits which are pointed to by tags or branches.