Git Fast-Forward Fail
July 17, 2025 at 9:30PMRan afoul fo BitBucket repository limits recently. I ended up trying a number of foreign git commands and failing (including this post).
Turns out it was easier to simply write my history to a text file. Then delete and recreate a new smaller repo from the latest branch. Something had cause my page file to baloon to 500mb when the actuall files we only 1.5m
- Log Command:
git log > commit_history.txt
- Git size:
du -sh .git
Once that was done I used the BitBucket web interface to create a repo with the same name. It worked well. Did lose history but if I really to see some bread crumbs I can view the text file.
Happy Coding ;-)