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.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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.