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

How to add a subrepository?

Yuri Bodrak April 19, 2018

I have a parent repository (repo1). Now I need to create and add sub repositories under a parent one. I am not sure how to do by using BitBucket, so I have done it thru git commands, Everything seems to fine on terminal window, but the BitBucket does not display any changes. The question is: How to create a sub repository?

1 answer

1 vote
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 24, 2018

Hi Yuri! Git doesn't have subrepositories, but there are 2 ways you can obtain something similar: submodules and subtrees. You'll need to read about them and decide which method you prefer to use, for more help you can read Git submodules workflows tips and Git subtree.

Hope that helps!

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events