It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Move local repo to bitbucket cloud

Will the version control history retains after moving to cloud.

1 answer

1 vote
Mikael Sandberg Community Leader Oct 16, 2018

Hi Raju,

Welcome to the Atlassian Community.

The short answer is yes, the history is retained. Each clone of a repository contains the full history (there are exceptions), 

https://confluence.atlassian.com/sourcetreekb/migrate-local-repository-to-bitbucket-cloud-951412224.html

 

I do not see migrate to bitbucket cloud option. should i be using enterprise edition for this.

Mikael Sandberg Community Leader Oct 16, 2018

Are you migrating from one Bitbucket Cloud instance to another? Or from Bitbucket Server to Bitbucket Cloud? Or are you trying to add an exiting local repository to Bitbucket Cloud?

Hi Mikael,

We are trying to add existing local repo to Bitbucket Clound.

Mikael Sandberg Community Leader Oct 16, 2018

Okay, so after you created the repository in Bitbucket you will get instructions on how to get your local repository into Bitbucket. The three steps are:

  1. cd into your local repository
  2. Point your local repository to Bitbucket by setting the remote URL
  3. Push your repository to Bitbucket

You can read more about it here, Repository setup

Mikael,

What are steps to move repo's from Bitbucket Server to Bitbucket Cloud. I tried to look in doc's but could not find any help.

Mikael Sandberg Community Leader Oct 17, 2018

Moving from Bitbucket Server to Cloud is just a normal import of a repository. If you have projects and repositories in Bitbucket Server and are on Linux, take a look at this script, Migrate Atlassian Bitbucket Server to Bitbucket Cloud. Note that any settings like branch permissions, project/repository permissions has to be manually configured.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,917 views 0 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you