Saturday, September 2, 2023

clone git repository with specific branch only

clone git repository with specific branch only

```sh
#syntax

git clone --single-branch --branch <branch-name >  git-url

#example
git clone --single-branch --branch master https://github.com/career-tutorials/ck.git --progress

```

No comments:

Post a Comment