I'm not totally sure if I'm understanding your question correctly.
Reversing the question, you can connect one Git repository to two Bitbucket servers. The first server - the one you clone from - will be automatically called "origin". You can add a second remote to a git repo with the command
git remote add <name> <url>
Once you've done that, you can push to and pull from either remote from the repo by specifying the remote's name.
If your'e trying to do something different, like set up an automatic syncing between two Bitbucket repos, please clarify.
Hi,
Thanks you answered my question "you can connect one Git repository to two Bitbucket servers"
I was trying to have two bitbutcket server one on each side of a firewall sharing identical git repository.
i might end up cloning my repository or stay on one side of the firewall. Not sur yet
Thanks
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.