Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how to upload Beanstalk project to Bitbucket with file history maintained.

Ravina Rajaram Somvanshi
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!
March 22, 2019

Hello,

 

I wanted to push/upload project from Beanstalk to BitBucket , Where I am not able to upload the history of files. Only latest files are getting uploaded. Can anyone help with the same.

 

Thanks!

1 answer

0 votes
Mehmet Şirin Usanmaz
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 22, 2019

Hi Ravina,

Go to your local folder that contains your existing repository:

cd /path/to/your/existing/repo

Upload your existing repository to Bitbucket:

git push –mirror git@bitbucket.org:yourUsername/yourRepo.git

Thanks,

Mehmet Şirin 

Ravina Rajaram Somvanshi
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!
March 25, 2019

Hi Mehmet,

Thanks for your reply.

I am getting the following error while pushing code.

 

$ git push --mirror git@bitbucket.org:ravinaso/Discover.git
git@bitbucket.org: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

 

Could you please help here.

Mehmet Şirin Usanmaz
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 25, 2019

Hi Ravina,

Make sure the git url is correct.If you are sure, you can access the repos by following the steps in the document 

https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html

 

Thanks,

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events