Can "git log" show branches only (not the intermediate commits)?

Viewed 1760

I'd like to be able to see the relationship between all my branches.

Git log is a beautiful thing:

git log --graph --all --format=oneline

The output it produces is quite verbose (since I tend to make a lot of small commits on each branch). What I am looking for is a way to show only the commits that correspond to the head of a branch (just the branch name without the commit summary is fine)

Are there flags to git log or another git command for this?

1 Answers
Related