Question

An Error of 'failed to push some refs' when pushing to Remote repo from Local Machine

Posted June 8, 2017 2.5k views
Git Deployment

I’m following this DO tutorial ‘Set Up Automatic Deployment with Git’. When trying to push to the Remote repo locally with the command:

git push live master

I receive:

Counting objects: 1195, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (1064/1064), done.
error: failed to push some refs to 'ssh://USER@IP/var/repo/WEBSITE
t.git'

I think it may be a problem with permissions as I had to use sudo in a couple of the steps or it is maybe a novice’s mistake. Any guidance to troubleshoot or a point in the right direction this would be greatly

0 answers
Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!