How to squash many commits into one commit in SourceTree
Suppose we already merged from remote masterbranch.
Select the remote master node, and right click.
Then Click Reset xxxx(your branch name) to this commit.
Choose Soft – keep all local changes, and Click OK button
Now you will find all your changes are uncommitted
Type your commit messag……