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? Edited

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
TAGS
Community showcase
Asked in Feedback & Announcements

We want to talk to customers who have received 'non-technical' help from Atlassian Support

Hi Atlassian Community! Have you ever reached out to Atlassian for any non-technical related questions? Maybe you had a question about a bill, or needed help with account management, or had a licen...

250 views 2 18
View question

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