Answers for "copy branch git"

1

creating copy of a branch

git checkout -b new_branch old_branch
Posted by: Guest on August-03-2020
-1

clone a git branch

$ git clone -b <branch> <remote_repo>
Posted by: Guest on June-16-2021
2

clone branch git

git clone <repository_url>
git branch -a
git checkout <branch_name>
Posted by: Guest on January-05-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language