git clone specific branch
git clone --single-branch --branch <branchname> <remote-repo>
git clone -b <branchName> <remote_repo_url>git clone -b <branch> <remote_repo>In general:
git clone -b <branch> <remote_repo>
Example:
git clone -b develop [email protected]:user/myproject.gitgit clone -b <your_branchname> <your_git-remote-repo>git clone --single-branch --branch <branchname> <remote-repo>
# eg
git clone -b opencv-2.4 --single-branch https://github.com/Itseez/opencv.git
Also in C++:
- linux set python 3 as default
- linux command to reboot machine
- how to isnatll snap on ubuntu linux
- clear npm logs
- list recursively all files linux
- see detail of pid
- git config remote.origin.url
- create react app typescript
- teamcity set environment variable command line
- powershell shared folder
- how to install virtualbox in ubuntu
- how to make yes no question in bat scrip script
- function in bash
- vscode get installed extension list
- display all files in a directory linux
- uninstall vscode completely windows 10
- linux hex to dec
- fatal: 'origin' does not appear to be a git repository
- settings not showing in ubuntu
- bash if then else one line
- Matlab activation client
- multiply command bash
- start shell on rosetta 2
- powershell suppress error