Forums

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

How to delete Git LFS files from BitBucket Data Center

Parimal Mehta May 29, 2025

My company currently uses BitBucket Data Center v9.4.2. My team has a project that is source controlled with a Git repository on BitBucket. 

We are planning to start using Git LFS because we want to source control some larger binary files.

My questions are:

 

  1. In the future, if I need to remove some old Git LFS files from source control, how do I delete Git LFS files from BitBucket Data Center?
  2. One option I read about(Check [2]) - To delete Git LFS objects from a repository, delete and recreate the repository. Is the repository mentioned my Git repository or a separate Git LFS repository?


I have seen some answers, but they are related to either Cloud or Server:

* [1]https://community.atlassian.com/forums/Bitbucket-questions/How-to-delete-old-lfs-files-from-a-fork/qaq-p/2892902
* [2]https://community.atlassian.com/forums/Bitbucket-questions/Delete-Git-LFS-files/qaq-p/863172

Thank you!

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events