And the solution is to loose git history, it works.
Code: Select all
cas@cas-sp4:~/OpenSource-EBike-firmware/opensourceebikefirmware.bitbucket.io$ git push Password for 'https://firstname.lastname@example.org': Counting objects: 4, done. Delta compression using up to 4 threads. Compressing objects: 100% (3/3), done. Writing objects: 100% (4/4), 410 bytes | 410.00 KiB/s, done. Total 4 (delta 1), reused 0 (delta 0) remote: repository is in read only mode (over 2 GB size limit). remote: remote: Learn how to reduce your repository size: https://confluence.atlassian.com/x/xgMvEw. To https://bitbucket.org/opensourceebikefirmware/opensourceebikefirmware.bitbucket.io.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://email@example.com/opensourceebikefirmware/opensourceebikefirmware.bitbucket.io.git'