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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Folder and subfolder creation in the Bitbucket repository

Hi Team,

Have created the repository and cloned successfully, need to understand the folder structure of the Bitbucket repository. Aim to establish a repository with several directories and subfolders that looks like the screenshot in the attachment. Does Bitbucket have the potential? If so, kindly offer advice on how to create folders and subfolders in the repository.

Thanks in advance.

Sample.JPG

1 answer

0 votes
Erez Maadani
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.
Oct 03, 2022

Create the required structure and add your files. GIT will keep the folder structure for non empty folders. 

You can also use empty dot files to help pushing empty folders

git add folderA/folderB/.ignore folderC/file2.txt folderC/folderD/file3.txt
...

Will create the repo as following:

/-

 - folderA/

   - folderB/

     - .ignore

 - folderC/

   - file2.txt

   - folderD/

     - file3.txt

   

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events