Always fun to see different approaches. My first thought was to git rebase -i from whatever the parent of the very first commit is, then delete everything but the last commit. Not sure you can say "rebase from the parent of the first commit", but I'd give it a whirl. Seems a bit less involved, but also a bit trickier if you've never used interactive rebasing before.

//