GitHub

github error: failed to push some refs

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

Pushing and Pulling Branches on Github

Original articleWhat worked for me (tamanegi/open-uri branch): # create local branch $ git checkout -b open-uri # pushing branch $ git push origin open-uri # pulling remote branch $ git branch -d open-uri $ git branch -f open-uri origin/op…