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
Accepted answer

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 Tuesday in United States

Topic Tuesday: What's your favorite topic?

Good morning All, Our goal is to get you into the habit of while enjoying your favorite morning drink you are checking the NOVA "space" for topics and comments. Your input is really needed and...

61 views 4 0
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