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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

421 views 0 1
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