Faster git clone


Each of us frequently employs the “git clone” command in our daily routines, particularly when seeking open source projects.

In this article, I aim to demonstrate how the “allow” parameter can help minimize bandwidth usage when downloading a repository from a remote source.

Normal version

Directory size: 50 Megabyte


Depth version

Directory size: 22 Megabyte

You can copy the aliases which at below to your .bashrc or implement same mechanism to your CI/CD pipeline.

 


 

Daha fazlası için