Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

.git folder size big

Srinivasan Subramanian - OIT
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!
July 29, 2020

we have an alert for disk space on hssdrl101u in the /apps/ directory
These are some of files taking up the highest space
7.1G    /apps/cbmsIDE/app/jenkins/jobs/PrdCode_Checkin/workspace/prd-build/.git/objects/pack/pack-815f458834aad60190dfec0c058e6d7268f5b267.pack
7.1G    /apps/cbmsIDE/app/jenkins/jobs.bkup/PrdCode_Checkin/workspace/prd-build/.git/objects/pack/pack-815f458834aad60190dfec0c058e6d7268f5b267.pack
1.8G    /apps/cbmsIDE/dev_build_area/Jboss/corticon_Uat/.git/objects/pack/pack-c309c2067046f16e0477ee3d9fa0073cfa62a5c3.pack
1.8G    /apps/cbmsIDE/dev_build_area/Jboss/corticon_Sit04/.git/objects/pack/pack-76e2148425330817542ccc517a69aa6152c512b0.pack
1.8G    /apps/cbmsIDE/dev_build_area/Jboss/corticon_Sit03/.git/objects/pack/pack-c309c2067046f16e0477ee3d9fa0073cfa62a5c3.pack
Why these are taking more spaces?All files are in .git folder

1 answer

0 votes
Kristy
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 2, 2020

Hi @Srinivasan Subramanian - OIT ,

 

The files you're looking at are called Git Packfiles. Git periodically tries to save as much space as it can by looking for similar files and storing them in diffs from one version of the file to the next. Without these packfiles, the `.git` folder would be much bigger (but scattered across lots of different files instead).

 

Hope that helps!

Kristy

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events