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
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

946 views 3 2
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