I copied a few hundred megabytes of images from my production environment into my development environment. Even though I have them in .gitignore
(public/uploads/
) and they are not under version control (I checked with git ls-tree -r master --name-only
) my last commit to GitHub was huge (a few hundred megabytes).
I saw that the few hundred megabytes seem to be in the following directory: .git/objects/
in subfolders named from 00
to ff
.
I can't see the .git
directory on GitHub (where I commited to), but since there is the huge amount of data in it I guess it must be the reason for the commit > 100 MB. Can I simply delete the subfolders under .git/objects
or how can I get rid of the hunderd MBs of images that I do not want to have under version control?