Show commits in a graph¶
Use adog switches:
git log --all --decorate --oneline --graph
–decorate controls how the names of the commits (tags / branch names) are shown –one line is the same as –pretty=oneline
Or save it as an alias:
git config --global alias.ladog 'log --all --decorate --oneline --graph'
git ladog