Hi
I had several big files and had many many revisions of those files checked in. I guess that led to the Repository is over the size limit (4 GB) and will not accept further additions warning.
I've deleted all big files in local and when I tried to push, I am getting a warning
Hi @John Nicole Calbitaza and welcome to the community.
I ran a git gc for the repository that is over the size limit, however, its size has not been reduced.
When a repo goes over the size limit, the only thing that you can push is a git reset that will bring the repo's size below the limit. You can read more details here:
New commits cannot be pushed at this point (even if it is commits with file deletions or a history rewrite).
After you follow these steps to undo the last push, the repo's size should go below the limit, you can look into reducing it further.
Please keep in mind that committing file deletions will not affect the repo size. You would need to rewrite history in order to either remove these files from history or move them to LFS. You can read more details in this post of mine:
If you rewrite history and push, the remote repo will need a git gc that can only be done by Atlassian team. You can create a new question in community and we can then run it for your repo.
Please feel free to reach out if you have any questions!
Kind regards,
Theodora
welcome to the community!
Did you check the recommendations on Reduce repository size | Bitbucket Cloud | Atlassian Support?
Regards,
Harald
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.