git clone from specific branch
git clone --single-branch --branch <branchname> <remote-repo>
git clone -b <branchName> <remote_repo_url>git clone -b branchName repoUrlIn general:
git clone -b <branch> <remote_repo>
Example:
git clone -b develop [email protected]:user/myproject.gitgit clone --single-branch --branch <branchname> <remote-repo>
# eg
git clone -b opencv-2.4 --single-branch https://github.com/Itseez/opencv.gitgit clone -b <branch> <remote_repo>
Also in C++:
- how to check if ubuntu is 32 or 64 bit
- list all commits for repo api github
- bash print specific range of rows from a file
- install chocolatey
- install windows app powershell
- Replace the second string in the double quotes with the first string in the double quotes
- git update on linux
- javascript implements
- linux show file line size
- how to install newrelic agent on aws linux
- mongorestore
- .vimrc comment
- get all branches git
- batch filename
- chmod 777 ubuntu xampp
- choco upgrade all
- conda pydot
- windows terminal guid
- change shell
- windows run powershell script from task scheduler
- close ssh connection mac
- how to get list of users in ubuntu
- remove microsoft edge from ubuntu
- docker run name