How do I list all merges and all direct pushes to master branch?
I am not interested in commits that went to master branch with merge.
Are you looking for this :
git log --first-parent master
You can combine it with other
log options, e.g :
git log --oneline --first-parent master