My repository is too big for BitBucket (~500 MB), I've decided to move it to GitLab. After copying it to GitLab, I've tried to clear the existing BitBucket repository. I don't want to remove it completely, I want to remove all files/history with adding a little README with information about moving to the new address (GitLab).
To to this, I used the following commands:
git init (in a new folder)
git remote add origin https://bitbucket.org/(my_repository)
git add ... (my readme file)
git push --force origin master
After this, I don't see any information in the log. But the size of my repository in BitBucket web interface is still ~500 MB, and attempt to clone it creates a very large .git folder
What is the reason? How to REALLY decrease the size of an already unnecessary repository?