title: failed to push some refs to 'https://github.com/myname/myrepo'
body: <p>question on magit / push</p>
  
  <p>I'm starting using magit, with very little experience in git.</p>
  
  <p>I've gone trough the magit manual with success for :</p>
  
  <pre><code>adding
  ignoring
  staging
  commiting locally
  </code></pre>
  
  <p>Then, I try to push on github.com/myname. For that, I use 'P P', entering then my username and password.</p>
  
  <p>If fails with</p>
  
  <blockquote>
    <p>To <code>https://github.com/myname/myrepo</code> ! [rejected] master -> master (non-fast-forward)  error: failed to push some refs to <code>'https://github.com/myname/myrepo'</code><br>
    <strong>hint: Updates were rejected because the tip of your current branch is behind<br>
    hint: its remote counterpart. Merge the remote changes (e.g. 'git pull')<br>
    hint: before pushing again.<br>
    hint: See the 'Note about fast-forwards' in 'git push –help' for details.</strong><br>
    git exited abnormally with code 1.</p>
  </blockquote>
  
  <p>I thought I would solve it as mentionned here with
  git config --global push.default current
  But it doesn't help.</p>
  
  <p>I've had a lok at <a href="https://stackoverflow.com/questions/14609263/geting-an-error-pushing-to-github-updates-were-rejected-because-a-pushed-branc">Geting an error pushing to github - Updates were rejected because a pushed branch tip is behind its remote</a> but did'nt got it to work</p>
  
  <p>Any idea ?</p>