Answers for "pull a branch from remote git"

5

how to pull remote branch into local branch

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

pull down remote branch git

git fetch origin

git checkout --track origin/<branch_name>
Posted by: Guest on April-23-2020
2

how to pull a new remote branch

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

pull remote branch git

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

Code answers related to "pull a branch from remote git"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language