can't push existing code to new repository in bitbucket

I've just created a new private repository so I can commit some existing code. I followed the instructions on the import an existing repository tab in the overview section but I can't seem to push the project onto the repo. Here's the error I'm getting:

error: The requested URL returned error: 412 while accessing https://1stdayonthejob@bitbucket.org/1stdayonthejob/">https://1stdayonthejob@bitbucket.org/1stdayonthejob/</span<>>.....

fatal: HTTP request failed

The origin seems to have been added ok since when I tried to add it again I get an error saying origin exists already.

Is there some settings I neglected to do for this to work?

1 answer

1 accepted

2 votes
Answer accepted

You have to set your password if you're using a google or github account.

https://bitbucket.org/site/master/issue/6018/http-412-error-when-connecting-to

Select "Set password" menu option in your account settings after login in at bitbucket.org

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in United States

From Atlassian: Confluence Security Advisory - 2019-03-20

Atlassian released a security advisory on 3/20/2019.  The full advisory is here:  https://confluence.atlassian.com/doc/confluence-security-advisory-2019-03-20-966660264.html In a nutshe...

22 views 0 1
View post

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