Answers for "git create branch from origin"

2

create new branch from origin

git checkout -b nameOfBranch origin/nameOfBranch
Posted by: Guest on March-25-2021
15

git checkout to remote branch

$ git checkout --track origin/newsletter
Branch newsletter set up to track remote branch newsletter from origin.
Switched to a new branch 'newsletter'
Posted by: Guest on March-13-2020
5

git checkout remote branch

git checkout --track origin/<branchname>
Posted by: Guest on June-17-2020

Code answers related to "git create branch from origin"

Browse Popular Code Answers by Language