This post demonstrates how you can cleanup your commit history on a local branch prior to merging it into another branch (e.g. 'master'). Keeping frequent commits throughout your development process on a local branch can be very helpful for works-in-progress, but long, detailed histories that were meant to aid in ...
Clean Up Developments Commits By Combining Them Into One
Read Full Article