you can use the interactive shell in git rebase to selectively pick which commits to rebase.
git rebase -i bc3c488...
then change the commits that you want to squash to say squash instead of pick
checkout https://ariejan.net/2011/07/05/git-squash-your-latests-commits-into-one/