we have 2 software teams. one team is using bitbucket cloud and the other is using server.
How would they share their code modules easily? is it just a matter of cloning a repo from the right place and using the code in their development regardless of its location?
or are there other things to think about or ways to do it that are cleaner/smoother, less error prone? Integrations, etc?
Hi @Marlene Cote,
One option is to integrate the two applications by setting up a Smart Mirroring for Bitbucket Cloud. In this way you can mirror the Bitbucket Cloud repository to Bitbucket Server.
For the opposite direction, some customers use the Repository Mirror Plugin for Bitbucket add on.
Setting up the git remotes is also an alternative, but it requires every user to keep that in mind when cloning the repository or performing a push (at the latest). The options above let the applications manage the synchronization of the repositories via git hooks on the server.
Cheers,
Caterina - Atlassian
Hi Marlene,
And welcome to the Atlassian Community.
Yes, you can share repositories between Bitbucket Cloud and Bitbucket Server. Have a look at Git Basics Working with Remotes it describes how you can do it. All you would have do to in Bitbucket is create the repository first.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thank you. of course, I forgot about the fact that this is just git. :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.