Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,475
Community Members
 
Community Events
184
Community Groups

Repository size reduced, bitbucket's size increased

Edited
M47h13u
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 09, 2023

Hey,

This repository was close from the 4GB limit (3.96GB).

I used BFG to remove most .ane .swc and .fla files from the history. Big lines:
- git clone --mirror https://XXXXXXXX:YYYYYYYY@bitbucket.org/workspace-id/repo.git
- java -jar bfg-1.14.0.jar --delete-files *.ane
- java -jar bfg-1.14.0.jar --delete-files *.swc
- java -jar bfg-1.14.0.jar --delete-files *.fla
- cd domination.git
- git reflog expire --expire=now
- git gc --prune=now --aggressive
- git push

While on a freshly cloned repo git count-objects -vH shows 135.12MiB, bitbucket shows 4.1GB

Following this question could anyone from the team run git gc on the repository, please ? Or did I messed up something during the cleanup ?

(I do upvote this feature request)

Best Regards,
Mathieu

1 answer

1 accepted

0 votes
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 10, 2023

Hi Mathieu and welcome to the community!

I ran a git gc for the repository; its size has been reduced very close to the size you're seeing locally, and you should be able to push new commits. Is everything ok on your end now?

Just a heads up, I removed the repo details from your post to comply with our privacy policy.

Kind regards,
Theodora

M47h13u
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 10, 2023

Hey Theodora,

Thanks a lot for your diligent feedback. Everything's fine now \o/

> I removed the repo details from your post to comply with our privacy policy.

Duly noted

Best Regards,
Mathieu

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 10, 2023

Hi Mathieu,

That's good to hear, thank you for the update.

Please feel free to reach out if you ever need anything else!

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events