I've noticed lately; while we have enabled a shared repository for our primary plan that every time a branch is detected it creates a new git cache. With our rather large git repository this means we can have easily 30-40 gigs of the same repository, just with a different branch checked out.
This creates a large amount of repeated data on the server; which either requires branches be removed prior to their intended time for expiry, and what I suspect is a large number of unnecessary caches left behind in the _git-repositories-cache folder; or expanding/migrating the Bamboo system to another location with more disk space which is not an optimal solution either.
Can someone explain to me if shared repositories worth with automatic branching for git, and if so what our setup might have wrong that creates a new repository for every branch? And how to properly clean the caches directory of unnecessary caches?
I'm not sure if this is still an issue for you or not but the " Administration->Repository Settings" for Git exists for Bamboo version 4.4.3 and newer, if you are using an older version of Bamboo it will only be available for Mercurial. Please visit this article for more information:
Hope this helps!
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
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!
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