git clone from specific branch
git clone -b branchName repoUrl
git clone from specific branch
git clone -b branchName repoUrl
How do I clone a specific Git branch?
# syntax
git clone -b <branch> <remote_repo>
# Example
git clone -b my-branch [email protected]: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
clone project from specific branch
git clone -b passwordless-auth [email protected]:BolajiAyodeji/nextjs-blog.git
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us