Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Maintaining a mirror of an external repo in BitBucket

I would like to "mirror" external libraries that I use (e.g. from GitHub) on my BitBucket account, just in case the original disappears and it has been submoduled into my code. I can then submodule the external library from my mirrored version instead of the original.

If I was doing this locally I would clone the repo, then I could pull any updates done to it. What I'm looking for I guess is the ability to clone into my BitBucket account. The nearest thing I can find is Import existing code, but I don't think I would be able to pull any changes to that (i.e. once imported it is totally seperated from the original).

Having it in my BitBucket account instead of just locally means I can access from multiple machines, VMs, etc.

Any suggestions on how to go about something like this?

1 comment

Hello @sodally,

Unfortunately, there's no such built-in integration between Bitbucket and Github. The manual sync procedure you described sounds correct, and it can be automated with a simple script.

Sorry for the inconvenience.



Log in or Sign up to comment
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,622 views 0 7
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