Horje
git clone specific branch only Code Example
clone specific branch
git clone --single-branch --branch <branchname> <remote-repo>
clone from a specific branch
git clone -b <branchName> <remote_repo_url>
clone specific branch
In general:

git clone -b <branch> <remote_repo>

Example:

git clone -b develop git@github.com:user/myproject.git
git clone specific branch only
git clone -b mybranch --single-branch git://sub.domain.com/repo.git
git clone specific branch
git clone --single-branch --branch <branchname> <remote-repo>

# eg
git clone -b opencv-2.4 --single-branch https://github.com/Itseez/opencv.git
git clone single branch
# clone only the remote primary HEAD (default: origin/master)
git clone <url> --single-branch

# as in:
git clone <url> --branch <branch> --single-branch [<folder>]




Shell

Related
linux mint 20 dark mode Code Example linux mint 20 dark mode Code Example
docker starting too long Code Example docker starting too long Code Example
ec2 ssh Code Example ec2 ssh Code Example
installing webpack-cli Code Example installing webpack-cli Code Example
webpack install Code Example webpack install Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12