Answers for "create a local branch from remote"


create local branch to track remote

git checkout --track origin/some_remote_branch
Posted by: Guest on August-04-2020

create local and remote branch

git checkout -b yourBranchName
git push -u origin yourBanchName
Posted by: Guest on April-27-2020

git link local branch to remote branch

git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'
Posted by: Guest on December-05-2020

Code answers related to "create a local branch from remote"

Browse Popular Code Answers by Language