title: How to clear space in Bitbucket repository that's over size limit?
body: <p>I am pushing my iOS app code to Bitbucket, and it's given me the error:</p>
  
  <pre><code>Repository is in read only mode (over 2 GB size limit).
  </code></pre>
  
  <p>I've realised I have been pushing some files (Pod files, if you know what that is) to Bitbucket when actually I don't need to. I now want to clear up space in Bitbucket by deleting the folder <code>/Pods</code> from the repository.</p>
  
  <p>I have also added this to my <code>.gitignore</code>:</p>
  
  <pre><code>/Pods/*
  </code></pre>
  
  <p>which I'm hoping means it will ignore the Pods folder and all that's in it. I have some committed changes that it won't let me push because of the read-only mode. I tried deleting the Pods folder from my local machine and pushing that but that won't work either. How can I:</p>
  
  <ol>
  <li>Push these committed changes</li>
  <li>Get my Bitbucket repository out of read-only mode by deleting the <code>/Pods</code> folder.</li>
  <li>Make sure that Bitbucket ignores the <code>/Pods</code> folder in the future</li>
  </ol>
  
  <p>Incidentally, I'm using SourceTree for my repository handling, but willing to use the command line if necessary to get me out of this mess.</p>