I made a lot of little commits and now I want to get rid of them all from the history so that if I do git log it only shows one commit at most. But I don't want to lose any of the changes I made. So basically my last commit becomes like the initial commit. How can I do that?