It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Create a folder structure of projects within projects having repositories

I want to create a proper folder structure segregating types of projects. This is urgent. These sub projects contain the repository/repositories. For example:

├── Common/

│   ├── CS/

│   │   ├── Repo 1.1 

│   │   ├── repo1.2

│   │   ├── repo1.3

│   │   ├── upto repo1.7

│   │   

│   └── PY/

│       ├── repo 2.1

│       ├── repo 2.2

│       ├── upto repo 2.5


├── Desktop/

│   ├── repo 3.1 to 3.4


├── Embedded/

│   └── Arduino/

│       ├── 3 repo(s) withing this folder


└── Web/

I know I can create a project and inside it the repositories. But I am not getting an option to create the project(or you can call it folder in terms of file structure) within another project(folder) which is my requirement. 

1 answer

0 votes
Mikael_Sandberg Community Leader Jan 13, 2020

Bitbucket does not allow you to create sub-projects with a project. Based on your description you are looking for something like Git subtrees. Subtrees allow you to bring in other repositories as a sub repository. We use Git subtrees as a way of sharing common code between projects.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Bitbucket

Contest: Share your custom Bitbucket Pipe and win

Announced in this blog, this holiday season we’re celebrating all things CI/CD and between now and the end of 2019 we’ll be showcasing content, use cases, feature announcements and more. One featur...

1,131 views 5 4
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you