I am trying to import a repository into github from my bitbucket account it seems to be failing and shows following message,
"Your old project requires credentials for read-only access
We will only temporarly store them for importing."
Path used for importing looked something like: https://[email protected]/blal/blahblahblah.git
What credentials should I put in and where should I put the credentials? I am trying the "Import Repository" feature of github given on their website:
folks if you are having the same problem as mine I fixed this by providing repo owner/maintainer username and then in the password field i have entered my personal-access-token
as I had personal access token on my github repos.
Check out personal access token docs here
The answer is described in more details bellow
https://github.community/t/import-repository-not-working/2044/2
Your old project requires credentials for read-only access
We will only temporarly store them for importing.
This basically means that we need to give the BitBucket login ID and password. When I entered BitBucket ID and password, importing went through fine and I could then see the imported repo on github.
Use your Bitbucket credentials.
Note: if you have enabled two-factor authentication on Bitbucket. Go to Bitbucket settings and create app password. Use that generated password when you are authentication on GitHub instead of your normal Bitbucket password.
It also work for private repositories.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With