Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Deleting Repository does not Delete from Disk



We're trying to manage disk space on our Bitbucket Server instance.

However, even after deleting a repository, the repository folder is not deleted from the host server.

Example: Repository 'ABC' is stored in 'E:\Bitbucket_Data\shared\data\repositories\1278' and takes up 3GB of space.
After using the Bitbucket Server UI to Delete the repository 'ABC', the folder 'E:\Bitbucket_Data\shared\data\repositories\1278' is still on the disk and the files are still there.

Is this expected/intended behavior?

If so, can I safely delete folder 'E:\Bitbucket_Data\shared\data\repositories\1278' manually from the disk?


Edit for clarification:
I am not trying to delete a Project Repo. I'm trying to delete a Personal Repo that was forked from a Project Repo. 

In the example, 'ABC' is forked from '123'
'ABC' is stored at 'E:\Bitbucket_Data\shared\data\repositories\1278'
'123' is stored at 'E:\Bitbucket_Data\shared\data\repositories\1248'

I only want to delete and reclaim disk space from 'ABC'

2 answers


I am facing the same issue as @Patrick Chen on version 7.6.1 of Bitbucket Server.

Can someone please answer his question ?

Kind regards,

Related to this: We have hundreds of thousands of folders in the tmp\git folder

Can these folders be deleted manually?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,238 views 2 9
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