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

Accepted Answer
1 vote

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 Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

2,365 views 9 12
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