title: Wipe out Local git commit without affect code
body: <p>How does one delete a local git commit without affecting code.</p>
  <p>I did a commit but it will not push because a file exceeds GitHubs 100MB limit.  When prevents the commit from being pushed, and all subsequent commits.</p>
  <p>I have removed the offending file, but the commit still has it as part of the commit.</p>
  <p>I have since done other commits (which I can lose). But I can't lose the code as it stands now.</p>
  <p>Thanks all</p>