We suddenly have the problem of exceeding 4gb in our repository.
We did not commit any large files: our last commits had only a few dozen source files, jsp, js etc.
We quickly went from 3.8gb (a few hours ago when we saw the warning) to 4.6gb. We do not understand what could have caused this increase.
We have run the commands twice as per your guide (git reset --hard and git push --force), repository is still blocked.
Can you please help us?
Here is the log in local of git count-objects -vH
count: 263
size: 1.03 MiB
in-pack: 612790
packs: 6
size-pack: 257.76 MiB
prune-packable: 77
garbage: 0
size-garbage: 0 bytes
Here the log of last command execution
user@devops:~/git/vino75$ git reset --hard @{u}^
Updating files: 100% (12766/12766), done.
HEAD is now at 124bc96e18 Merge branch 'master' into develop
user@devops:~/git/vino75$ git push --force
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
remote: WARNING Repository size in Bitbucket is currently 4.6 GB
remote: Above the 4 GB size limit further commits are rejected
remote: Garbage collection will run automatically to help reduce the size of the repository. Wait until GC is complete to continue. This usually takes less than fifteen minutes but can take up to an hour. If you are still having issues after GC has finished, contact us at support.atlassian.com to increase your repository’s size limit.
remote: HINT Learn how to reduce repository size: https://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size/#Rewind-history-to-undo-large-commits
remote: Create pull request for develop:
remote: https://bitbucket.org/3nd/vino75/pull-requests/new?source=develop&t=1
remote:
To https://bitbucket.org/3nd/vino75.git
+ b2d19fbcbb...124bc96e18 develop -> develop (forced update)