Shallow clone with Git

If you only want to check the latest states, without downloading anything:

git clone -–depth <depth in numbers> <url>

Also for a single branch:

git clone <url> --branch <branch-to-clone> --single-branch [folder-to-store]
dcmst
dcmst
Yet Another Python developer

Python developer | Linux Enthusiast | Wine Geek

Related