Horje
How do I clone a specific Git branch? Code Example
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




Shell

Related
catkin_make single package Code Example catkin_make single package Code Example
httpd.conf location centos Code Example httpd.conf location centos Code Example
how to install nvm in ubuntu Code Example how to install nvm in ubuntu Code Example
how change your github username and password in terminal Code Example how change your github username and password in terminal Code Example
ffmpeg rotate video Code Example ffmpeg rotate video Code Example

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