It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

.git folder size big

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 Aug 02, 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
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

996 views 0 5
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