Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can i add nested folders to bitbucket server (on-prem)?

asaf rehavi
May 10, 2020

I  already created repository 

i can see other folders at my repository 

the structure is

myrepo/folder_a - ok

myrepo/folder_b/folder_c/folder_d - 

at the repository i can see the  folder_b and folder_c but not folder_d

 

1 answer

1 accepted

0 votes
Answer accepted
Jimmy Seddon
Community Champion
May 11, 2020

Hi @asaf rehavi,

Welcome to the community!

The way git usually works here is that it adds files not folders.  Do you have any files within folder_d?  The only want to get git (Bitbucket) to keep a folder around that doesn't contain any files is the add a .gitkeep inside the folder (in your case folder_d).

I hope that helps!

-Jimmy

Edward Prochak
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 6, 2026

I am finding the even with files in the subfolder, neither SourceTree nor Bitbucket recognizes the folder.

Signed,

   Frustrated

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events