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?

https://marketplace.atlassian.com/plugins/com.englishtown.stash-hook-mirror/server/overview

1 answer

1 accepted

1 vote
Accepted answer

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 Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

655 views 5 9
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