why is my repository generating tmp_pack files

recently I noticed my repositories were growing in size. my staging branch, which was hosted on another server instead of a subdomein, grew up to 12 GB!!!

I asked the hosting company if they could help to find out what was going. It turned out that 11.4 GB was in the /.git/objects/pack folder.

I couldn't find a straight answer whether I could remove these or not.

but in the end I replaced my entire repository on the server. this time it only used 25 MB.

2 hours later it's already at 2 GB again, the folder generated tmp_pack files every 2-3 minutes and I don't know what they are or why they are created (let alone why they aren't removed). I never had this problem before with local branches

2 answers

This sounds like an under-the-hood git operation. You'll have a better chance of finding someone who knows what's happening on a larger Q&A site, like stackoverflow.com

Having identical behaviour here with Bamboo 5.10.x

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

647 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you