3 ms·
Isn't --depth=1 all you need to avoid downloading every binary?
by mustyoshi 5y ago
Isn't --depth=1 all you need to avoid downloading every binary?
- somehnacct3757 5y agoMaybe, but everyone's CI situation is so variable that it may not be that easy. For instance if you are using a monorepo then even a shallow clone can be overkill. And if you rely on git history for conditional CI then a shallow clone will ruin the output of many git commands. So you could end up in an either/or optimization situation depending on the order your CI/CD organically grew and other architectural decisions you made.