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!
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
Hi Mehmet,
Thanks for your reply.
I am getting the following error while pushing code.
$ git push --mirror git@bitbucket.org:ravinaso/Discover.gitgit@bitbucket.org: Permission denied (publickey).fatal: Could not read from remote repository.
Please make sure you have the correct access rightsand the repository exists.
Could you please help here.
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
It looks like you're new here. Sign in or register to get started.