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

How to reverse a commit on a respository greater than 4GB in size?

Hi,

I wasn't aware of the file size limitations on bitbucket and uploaded more than 4GB in a single commit.  I'm trying to reverse the commit but I can't push the reversed commit because the repository is now of a size larger than 4GB and won't let me push anything.

How can I delete these files so that I can push again? I just want to reset my last commit.

Thanks in advance for all the help!

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 19, 2021

Hi Cole,

You can check the following documentation page on how to undo the last push:

As mentioned there, make sure you enable the Delete dangling commits when over size limit feature for your account in https://bitbucket.org/account/settings/features/, so that a garbage collection will get triggered automatically after you follow the steps on that guide. The repo size should then be reduced in a few minutes. If you don't see the repo size getting reduced a few minutes after you have followed the steps on the guide, please feel free to let me know and I can trigger a garbage collection manually.

Please feel free to let me know if you have any questions.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events