title: Pushing to github after a shallow clone
body: <p>I had a massive git repo because of a huge number of commits, so following advice <a href="https://stackoverflow.com/questions/11235108/can-i-delete-my-local-git-repo">here</a> I created a shallow clone. I've made changes to this new local repo, and now I want to push to my origin at Github (and then on to my staging and production remotes on Heroku). Perhaps one day I'll learn to read the documentation: </p>
  
  <blockquote>
    <p>The git clone --depth command option says</p>
    
    <p>--depth   Create a shallow clone with a history truncated to the specified number of revisions.  A shallow repository has a number
    of limitations  (you cannot clone or fetch from it, nor push from nor
    into it)</p>
  </blockquote>
  
  <p>So... how can I unpick myself from this situation and push my code to Github? </p>