Missed Team ’24? Catch up on announcements here.

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

How to make private Github repository accessible to both Github AND Bitbucket?

David Solinsky
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!
June 17, 2023

Hi, I want to make my privated Github repository to be completely simultaneously accessible by Github and Bitbucket. What are the steps to doing that?

I have tried importing my private git repo by clicking Import Repository and filling in the fields, but the import fails after I put in my github repo information.  I checked the "Needs authorization" box and input my username and password to github.  It still gives me an import error.





1 answer

1 vote
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 19, 2023

Hi David and welcome to the community!

What the import option does is perform a clone of the repository you provided, creating a new Bitbucket Cloud repo.

I see that GitHub has deprecated the use of account passwords for Git operations (Bitbucket Cloud has done the same):

Can you try creating a personal access token instead, and use that instead of a password (along with your username), when you import the repo?

Please keep in mind that the new repo that will be created after import doesn't have some sort of link to the original repo for automatic updates. If you want to keep both repos in sync, you will need to push any changes to both remotes.

Please feel free to reach out if you have any questions.

Kind regards,

Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events