title: Git commit shows over 100 commits after merge
body: <p>When I merged my branch <code>A</code> to branch <code>B</code> and was ready to commit and push, my console told me that there were <code>101 commits</code> that I will be pushing. Question is, how can I remove all these commits into just one commit so that my branch <code>B</code> history doesn't get flooded with unnecessary branch <code>A</code> 101 commit history. </p>