Improve git clone performance in a CI pipeline

Improve git clone performance in a CI pipeline

Have you felt particularly annoyed by the time it takes to clone a large repository, especially one with a huge commit history? This post will discuss a simple but powerful technique to significantly improve git clone performance. The solution is called shallow cloning, which uses the flag with . The reason why this improves git clone performance is that it creates a clone of the git…

Source