1

Is there any way in Git you can just list all Branch merge commmits? I tried with git reflog and it does show commit and

<commit number> HEAD@{2}: commit (merge): merge with feature/unification

Is using (merge) string enough to detect branch merging?

hjpotter92
  • 78,589
  • 36
  • 144
  • 183
wonderer
  • 53
  • 1
  • 5

1 Answers1

0

I think you're looking for

git log --merges

--merges

Print only merge commits. This is exactly the same as --min-parents=2.

hjpotter92
  • 78,589
  • 36
  • 144
  • 183