How does the import repository feature work exactly?

This question is in reference to Atlassian Documentation: Copy your Git repository and add files

I imported a repository from gitlab to Bitbucket and created my own branch in bitbucket.

  1. Others are working on gitlab directly. Will I get their commits automatically in my imported Bitbucket repo's master as well?
  2. If I want to merge my changes to the master on gitlab, and I issue a pull request, will those working on gitlab be able to see it?

To summarize, is import repo a "do it once and forget the original" feature or does it work like a mirror?

Is there something like this for the cloud version of bitbucket?

1 answer

1 accepted

Hi Smarmila,

The imports feature allows you to import repositories from other sources into Bitbucket. It pulls in all the commits for a repo **at the time of the import**. Any changes made to the original repository (the one in Gitlab) will not be reflected in the Bitbucket repository. At this time, there are no features in any of the major SCM hosting services that allow pull requests to be made across them.

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

710 views 0 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot