title: How can you delete multiple exactly same commits with different commit messages?
body: <p><a href="https://i.stack.imgur.com/RJI9S.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RJI9S.png" alt="enter image description here"></a></p>
  
  <p>I have these commits in my repository. These three are exactly the same, just differ in commit message. These commits are not the latest commits. How can I delete the upper two commits?</p>
  
  <p>I am working alone, no one using this repo beside myself.</p>