Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

can't push existing code to new repository in bitbucket

1stdayonthejob
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 18, 2013

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
benoit pavot
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 14, 2013

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
TAGS
AUG Leaders

Atlassian Community Events