title: Deleted Large Files from Git Repository but still Cannot Push
body: <p>I had some unexpectedly large files which I committed and pushed. The git push failed because they were too large. </p>
  
  <p>So I removed them from my local repo directory and then I made a new <code>git add/commit/push</code> and git was still trying to push the same large files so it failed again. </p>
  
  <p>I did a <code>git status</code> and noticed the files were still in the <code>"Changes not staged for commit"</code> lower part of the status report and colored in red. I also noticed they have instructions saying I should <code>"add/remove files to update what will be committed"</code>, so I ran a <code>"git rm filename"</code> on the files. As a result of that, I did a new git status and saw the same files in the upper area of the git status report, now in green.</p>
  
  <p>So thinking I had succeeded, I did a new <code>git add/commit/push</code> and this failed again for the same reason: the same files were trying to be pushed and were too large.</p>
  
  <p>So I read up more and tried doing a <code>git rm --cache filename</code> on all the files, but this command failed saying the file did not exist. </p>
  
  <p>Now if I do a git status I no longer see the files I deleted, but if I push it still tries to push the. Could anybody please recommend how to troubleshoot this? I really can't lose my local work.</p>
  
  <p>By the way, I can overwrite the remote with no problem as I am the only one working on it. </p>