commit -m "RT1234..." ..realise you forgot something.. $ git commit -m "fixup! RT1234" Then autosquash your last 2 commits $ git rebase --autosquash HEAD~2
branches for everything rebase feature branches from master squash working commits to one single feature commit merge this feature into master via a release branch