Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to declare a repository source on a server separate from the a Bitbucket server?

Timothy Konovitch
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 15, 2019

I currently have a Bitbucket Server license running on Server A, and would like to declare an existing folder to be my remote repository. Is it possible to set this folder as the repository path if this folder exists on a server other than the server Bitbucket is being hosted from?

1 answer

0 votes
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 21, 2019

Hi @Timothy Konovitch

I'm assuming you are talking about git submodules, please let me know if that is the case or not.

You can associate a different repository to a folder in your Bitbucket server and cloud repository, considering the repository behind the scenes is Git. This is not a special feature in Bitbucket, but a git feature that allows you to associate multiple repositories to the main repository.

Keep in mind that checking out this type of repository with its submodules requires different commands and the SSH keys of the sub repositories will need to be available in your server as well.

I strongly suggest you check this document(Git - Submodules) and run some tests with Bitbucket and your CI tool before following this path.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events