When I push to bitbucket, I get the following warning:
remote: WARNING Repository size in Bitbucket is currently 1.6 GB
But if I clone the repo, it's only 460M
$ git clone git@bitbucket.org:my_team/my_repo.git
$ du -sh
460M .
$ du -sh ./.git
257M ./.git
Can I get bitbucket to recognize that I've actually only used 460M?
I already tried 2 variations of the advice here.
git clone git@bitbucket.org:astappteam/mobile_app.git
git checkout -b bitbucket-gc
git reset --hard HEAD~1
git push --set-upstream origin bitbucket-gc
git checkout dev
git checkout -b bitbucket-gc1
git push --set-upstream origin bitbucket-gc1
git reset --hard HEAD~1
git push --force