- Head out from a common starting-point, usually in master
- git checkout -b topic
- Do your stuff, git commit, times 10.
- git checkout -b topic_squash
- git rebase master
- git rebase -i HEAD~10
If you release yourself:
- git checkout master
- git merge topic_squash
otherwise:
- git push origin HEAD