Forums

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

reducing bit bucket repo size

Bharath Kumar
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 17, 2020

Hi Team,

we are looking to reduce our repository size. So we tried removing the cache from the commit history for the files which are not being used. But still it does n't reduced to less than 1GB. Earlier the repo was around 1.2 GB. After removing the cache it reduced to 1.02 Gb. Can you please help us in reducing the git repo.

So far we have used the following commands to adjust the repo

 git filter-branch --index-filter -f "git rm -rf --cached --ignore-unmatch PATH_OF_NOT_REQUIRED_FILES" HEAD

 Thanks,
Bharath

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events