Showing posts with label git clone. Show all posts
Showing posts with label git clone. Show all posts

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

```