title: bitbucket git cannot lock ref
body: <p>Seems to be im having a nightmare i keep getting this error when i push</p>
  
  <pre><code>remote: error: cannot lock ref 'refs/heads/master': Unable to create '/data/c01/n01/p/vp0443/data/d-389/r-13803389/refs/heads/master.lock': File exists.
  remote:
  remote: If no other git process is currently running, this probably means a
  remote: git process crashed in this repository earlier. Make sure no other git
  remote: process is running and remove the file manually to continue.
  To https://sam_roberts_@bitbucket.org/sam_roberts_/admitme.git
   ! [remote rejected] master -&gt; master (failed to update ref)
  error: failed to push some refs to 'https://sam_roberts_@bitbucket.org/sam_roberts_/admitme.git'
  </code></pre>
  
  <p>So far, </p>
  
  <p>I've tried resetting git
  ive followed this tutorial
  <a href="https://stackoverflow.com/questions/21407962/error-on-git-push-remote-rejected-master-master-pre-receive-hook-decli">Error on git push = ! [remote rejected] master -&gt; master (pre-receive hook declined)</a></p>
  
  <p>i tried following this one too
  <a href="https://stackoverflow.com/questions/11228436/failed-to-lock-refs-heads-master">Failed to lock refs/heads/master</a></p>
  
  <p>any ideas??</p>