Given my repo size is over 4GB, would like to remove a folder with big files in order to reduce the repo size, but can't commit the change due to oversize. See the error message below:
git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks commit -q -F C:\Users\jzhang\AppData\Local\Temp\sk0oz4cl.0fc
git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags --set-upstream origin master:master
POST git-receive-pack (33826 bytes)
remote: Repository is over the size limit (4 GB) and will not accept further additions.
remote:
remote: Learn how to reduce your repository size: https://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size/#Rewind-history-to-undo-large-commits.
Pushing to https://bitbucket.org/*/reports.git
To https://bitbucket.org/*/reports.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://bitbucket.org/*/reports.git'
Completed with errors, see above.
The problem is resolved by following the instruction of how to reduce the repository size! Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.