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 Join to answer
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 ...

251 views 0 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot