Forums

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

How do I delete files when I am over the size limit?

ecjbosu September 30, 2025

How do I delete files when I am over the size limit?

I am trying to reduce my repo size.

Thanks you

 

1 answer

0 votes
Mirek
Community Champion
September 30, 2025

Hi @ecjbosu 

Not sure how you use overall your repository and what files do you keep but if you are already seeing a warning you should be able to think about.. 

  1.  Using git rm path/to/file to remove the specific file, then commit and push changes.. (more info)
  2.  Using git filter-repo to permanently remove large files from the repo history (more info)
  3.  Running git gc to clean up and reclaim space (more info)
  4.  Considering using Git LFS for large files (like images or videos) to keep your repo size manageable  (more info)
ecjbosu October 1, 2025

Thank you very much.  My repository is locked due to being over the size limit.  I am trying to delete files or would like to reset the repo to the last commit, and delete all previous commit data.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events