degit
degit copied to clipboard
Use spawn for ls-remote to avoid large output
exec
's output is buffered and has limit of 1m by default. It's better to use spawn instead for big repo with lots of refs. One exmple repo is this one: https://github.com/vercel/next.js and is causing exec to fail.