About squashing a commit
Squashing allows you to combine multiple commits in your branch's history into a single commit. This can help keep your repository's history more readable and understandable.
Squashing a commit
-
In GitHub Desktop, click Current Branch.