github error: failed to push some refs

Posted by on 29-Sep-2008

When trying to push to github received:

$ git push
To git@github.com:zh/laconica.git
 ! [rejected]        master -> master (non-fast forward)
error: failed to push some refs to 'git@github.com:zh/laconica.git'

The solution

$ git pull
....
$ git push
Comments

Respond | Trackback

  1. Arianadath 13-May-2009 22:49 BST

    Great! Thank you very much! I always wanted to write in my blog something like that. Can I take part of your post to my site? Of course, I will add backlink? Regards

  2. LnddMiles 24-Jul-2009 2:46 BST

    Pretty cool post. I just stumbled upon your blog and wanted to say
    that I have really liked reading your blog posts. Anyway
    I’ll be subscribing to your blog and I hope you post again soon!

Comments

Comments: