I used the procedure described here to clone a specific directory from a large git repository. Below are the commands I ran:
git clone --depth 1 --filter=blob:none --no-checkout [REPOSITORY]
git checkout master -- examples/
The examples
directory has a lot (>1024) files and after downloading some of them, git checkout master -- examples/
process terminated with the following error:
error: cannot create standard output pipe for index-pack: Too many open files
Can you help me diagnose and fix the issue?
My Git version is 2.20.1 (Apple Git-117)