Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

how to create sub folders under a repository?


how to create multiple sub folders under a repository? can treat branch as folder? i am having difficulty in creating folders

1 answer

1 accepted

0 votes
Answer accepted

HI @Yit Yeng

Welcome to the community!

You can create the subfolder/directory using mkdir command.

But the Git will not track the empty directory so to track the directory within the repo you need to add the files into it.

@Yogesh Mudemany thank for the reply.
I think it would be easier if directly create folder at our local checked out folder and follow by commit to the bitbucket. currently I am using source tree as a free git to check in those source code.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Feedback & Announcements

Announcing Data Residency for Standard and Premium licenses

Update: We have just released data residency for Austra...

6,884 views 16 47
Read article

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