دستورات سادهٔ گیت

git merge --squash
git rebase <branch>