Horje
clone branch in git Code Example
clone specific branch
git clone --single-branch --branch <branchname> <remote-repo>
How do I clone a specific Git branch?
# syntax
git clone -b <branch> <remote_repo>

# Example
git clone -b my-branch git@github.com:user/myproject.git

# With Git 1.7.10 and later, add --single-branch to prevent fetching of all branches. 
# Example, with OpenCV 2.4 branch:
git clone -b opencv-2.4 --single-branch https://github.com/Itseez/opencv.git
gitlab clone branch
git clone --single-branch --branch <branchname> <remote-repo>
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>]
clone branch git
git clone <repository_url>
git branch -a
git checkout <branch_name>
clone branch in git
git clone -b <branchname> --single-branch <remote-repo-url>




Shell

Related
mac allow apps downloaded from anywhere missing Code Example mac allow apps downloaded from anywhere missing Code Example
setoolkit kali linux install Code Example setoolkit kali linux install Code Example
netspeed ubuntu 20.04 Code Example netspeed ubuntu 20.04 Code Example
how to fast mouse scrolling in ubuntu 20.04 Code Example how to fast mouse scrolling in ubuntu 20.04 Code Example
failed to open stream: No space left on device linode Code Example failed to open stream: No space left on device linode Code Example

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