I am trying to run git gc
but I keep getting errors of too many open files.
warning: unable to access '.gitattributes': Too many open files
error: unable to open object pack directory: .git/objects/pack: Too many open files
fatal: failed to read object <hash>: Too many open files
error: failed to run repack
I don't know how to find what files are open and or how to close them.
I am using git version 2.13.0.windows.1 and Visual Studio code.