I have a local Git repo which I have been working on. The project has a master and dev branch. My changes are all within the dev branch at the moment.
Problem is I accidentally dropped 2 folders which contained high res images and .mov files from my iPad into a folder within my repo and committed without noticing.
I initially deleted (through the file system) the folders and just committed the deletion, but the issue I had was I couldn't push up to the remote repo because I was pushing up 1.7gb of data with git giving me a fatal hung error due to the file size of some of the movies.
I tried increasing the git config buffer size to allow the changes to be pushed but that didnt work.
After searching a few answers on SO I reverted my commit to put the files back in and tried removing via git with the following "git rm -r folderpath"
However the repo still seems to be trying to push all 1.7gb when the actual repo is only around 13Mb.
So my question is how do I reduce this down to the real size to allow me to push this up to the remote repo?
Thanks