Hello all,
This is my first question, so apologize for any misunderstandings.
First, I made a mistake and pushed images which are too heavy for the repository, so the space limit was reached.
After that I reset the repository to the commit before the issue happened (reset 21 commits). The I made a rebase dropping the unwanted commits. This would theoretically solve it, because remote master has been reset.
Basically I followed the instructions from bitbucket documentation:
$ git branch no_images
$ git reset --soft HEAD~20
$ git push --force (up to date)
$ git merge --ff-only no_images
$ git branch -d no_images
$ git push origin master <returns error, space exceeded remote rejected>
At this point my commits are a straight line just like before, but the commits containing image folders were removed.
However, my push are always refused, why?
How do I fix it?