Faster git clone


All of use using git clone command in our daily life. Especially while trying to find some open source projects.

In this article I just want to show how parameter allow you to use less bandwith while downloading repository from remote.

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