Answers for "pull branch from remote to new local branch"

2

how to pull remote branch into local branch

git fetch origin <branch-name>
Posted by: Guest on March-25-2021
1

git pull a new branch froma remote repo

git checkout --track origin/daves_branch
Posted by: Guest on May-30-2020
1

pull branch from remote to new local branch

git branch --track <branch-name> origin/<branch-name>
Posted by: Guest on July-06-2021
1

how to pull a new remote branch

git fetch <remote> <rbranch>:<lbranch>
git checkout <lbranch>
Posted by: Guest on May-29-2020

Code answers related to "pull branch from remote to new local branch"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language