My repository size becomes over the limit of 4gb. So I reset the one branch to commit before the large commit and gave git push --force.
I still have some branch with same large files.
Do I need to do same with all branches ?
Will deleting old branches will effect ?
Hi, @Prachi Jain Chaudhary, thank you for reaching out to Atlassian Community.
I checked the repositories that your Bitbucket Cloud account has access to and couldn’t find any repo showing 4 GB, could you please confirm if after you reset this branch, the repository size decreased?
If you need to remove files from the history of all branches, I would recommend running BFG on a mirror clone (as mentioned here: https://rtyley.github.io/bfg-repo-cleaner/), this way you will not have to repeat the process for every branch.
If you plan to use BFG to reduce the repo's size further, please feel free to let me know after you push your changes and I can run a git GC (I just would need to know the repository name, so you could share the last 3 letters of this repo here).
Let me know if you have any questions.
Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events