git clone specific branch only
git clone -b <branchName> <remote_repo_url>In general:
git clone -b <branch> <remote_repo>
Example:
git clone -b develop [email protected]:user/myproject.gitgit clone -b mybranch --single-branch git://sub.domain.com/repo.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>git clone --single-branch --branch <branchname> <remote-repo>
Also in C++:
- bash vlookup function
- anconda install django
- less in linux
- how to compare percentage value in shell script
- git pull if exist and clone
- unity download linux
- replace characters command
- mongodb list users
- github authentication timeout linux
- create react app typescript
- how to merge two repositories in github
- ohmyzsh
- gem install version
- command to restart linux
- ubuntu lemp
- sed remove first line
- Linux How to zip two files
- creating new branch in git
- rails add gem to gemfile
- user no login centos
- git clone epitech
- github issues api
- install heroku mac
- What causes a defunct process on the Linux system and how can you avoid it?