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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


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
Community Members
Community Events
Community Groups

Repository is over the size limit (4 gb) and will not accept further additions


I can't commit. I have deleted some branch in repo to reduce its size but its not decreasing. Anyone who can help me solve this problem and explain the cause so that we can fix it together.

3 answers

Deleting branches won't do much if large files have been pushed to master/develop for instance. You need to remove them from Git cache and rewrite history.

We did that and repo still showed a high usage even though it was 30MB when checkout out.

Let's call the problematic repo "my-repo". What I did was:

  1. remove large files from "my-repo" history
  2. push to "my-repo"
  3. clone "my-repo"
  4. rename "my-repo" to "my-repo-old" in Bitbucket
  5. create a new "my-repo" on Bitbucket
  6. push repo you've cloned on step 3. 
  7. "my-repo" is now up to date and way smaller than the original one.

That's it.

Why would you even have a repository that's 4gb ? I would advise you to rethink of what you are keeping there.

@Caroline R  i have created new question like suggested. can you help me solve this problem. Thank you

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events