Somal Somalski Somal Somalski - 1 year ago 89
Git Question

Git log - list all merges and direct pushes to master

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.

Answer Source

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
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download