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

Can I use git submodule or git subtree with BitBucket Server?

Porter Bassett April 6, 2017

In all of the `git submodule` or `git subtree` examples I can find, the submodule/subtree is referenced by a public, absolute URL.

We are using Bitbucket Server and accessing the repositories via HTTP. As such, the URL for a repository is different for each user. If I create a submodule using my personal URL, it will not be accessable to anybody else.

Is it possible for us to use `git submodule` or `git subtree` with Bitbucket Server?

1 answer

1 vote
Mike Friedrich
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 6, 2017

Yes, ofcourse it is possible.

I always recommend to use relative URLs. Then it does not even matter if ssl or https is used.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events