git filter-branch --index-filter 'git rm --cached -r --ignore-unmatch logs' --prune-empty --tag-name-filter cat -- --all
rm -rf .git/refs/original
git reflog expire --expire=now --all
git gc --prune=now
git gc --aggressive --prune=now
git push origin --force --all
These are the commends i used to reduce bitbucket repo size but the size was increasd