For what it's worth, you can still do it with those commands, though I understand part of the point is that you don't necessarily remember all of the options for them. But in this case, it should be simple:
git add .
git commit --amend -m "initial commit"
git push -f origin HEAD
I don't know when `--amend` was added. I used to do a squash rebase but this is much nicer.