how to create sub folders under a repository?

Yit Yeng October 4, 2018

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
Yogesh Mude
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.
October 4, 2018

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.

Yit Yeng October 14, 2018

@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
AUG Leaders

Atlassian Community Events