Answers for "git make local branch from remote branch"

5

create local and remote branch

git checkout -b yourBranchName
git push -u origin yourBanchName
Posted by: Guest on April-27-2020
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 make local branch from remote branch"

Browse Popular Code Answers by Language