git rebase -i [startpoint]
pick cd27881 // squash all into this commit
squash 3eaee88
squash e1d897b
squash bbef7f2
reword 6391223
squash 3eaee88 // squash between commit into newest
squash e1d897b
squash bbef7f2
reword 6391223
git rebase -i --root master
git stash push -u filename
git stash pop
git commit --amend -m "an updated commit message"