I have a git repository that has a folder with about 70,000 files in it. It was a pain, so instead of using 70,000 files, I compressed them into a single tar.gz.
Now I am trying to remove the directory from the git repository, but it seems to make LOT longer than I thought. I am wondering if git just hangs every time I try to delete a folder.
I see git working when I do htop:

This is the command I use to delete a folder:
git rm -r <folder_name>
Is there a better way to do this?
** Update: in the end he finished, took about 20 minutes.
source
share