DEV Community

Jeevachaithanyan Sivanandan
Jeevachaithanyan Sivanandan

Posted on

git clone only particular branch

Just use the command to clone only a particular branch not all branches from a repo

git clone --branch <branch_name> --single-branch <repository_url>

Top comments (0)