Push Failed: Failed to push some refs

New using stash, and not sure if we've got it configured correctly yet. SVN is working, but I'm trying to get Git working as well. I clone successfully locally, go to push a change and I get the error:

Push failed: error: failed to push some refs to ...

Any ideas would be appreciated.


1 answer

Hi Stephen,

Sorry to hear that. I'm going to need to see some more details though. The push could have failed for many reasons. Was there a specific error that came with the 'push failed' message?

My advice would be to create a support ticket and attach a support zip (under Administration -> Support Tools) so that we will be able to help you further.

Additionally you might also want to have a look in the $STASH_HOME/log/atlassian-stash.log file and see if there are any clues in there. If you attach any errors you find to this page I might be able to diagnose the problem.



I'm having the same issue. 


error: failed to push some refs to 'git@bitbucket.org:nonstoppants/hello_app.git'

if navigated to the directory in the cloud9 IDE and was able to create the origin, but I can not get it to push the project

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

679 views 5 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you