The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to add a subrepository?

Yuri Bodrak
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!
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

TAGS
AUG Leaders

Atlassian Community Events