title: Clear all commits in GIT?
body: <p>I created a new git repo on our server and then committed all files. Once those files were committed I then created a new .gitignore file and committed it.</p>
  
  <p>I did the two commits in the wrong order because the original commit added around 30k files and the .gitignore file isn't having any affect. If I could clear both commits and then commit the .gitignore file first hopefully it will dramatically reduce the volume of files and make the repo smaller.</p>
  
  <p>Is this possible? I have never pushed the repo to BeanstalkApp (our hosted git account) so hopefully it is possible.</p>
  
  <p>Thanks,</p>
  
  <p>Danny</p>