There are several files ( mostly pngs ) amounting to around 5 GB in my Git repository. These files are spread across different directories. So, basically I just needed to delete those directories. Eg.
dataset1/ #contains around 1 G of pngs
dataset2/ #contains around 1 G of pngs
library1/ #contains around 3 G of .so
I have now deleted them, commited and pushed again. But ofcourse, if I clone the repository again, since they once were checked in, become part of the checkout. I can confirm, that they are being checked out because I can see the number of objects and it is a huge number ( 52768 ). After deleting the 5 GB, I was expecting around 3000 objects.
How can I permanently delete them from the upstream as well, so that they dont appear in the clone anymore?