Quantcast
Viewing latest article 15
Browse Latest Browse All 49

Answer by Mohideen bin Mohammed for How do I check out a remote Git branch?

First, you need to do:

git fetch # If you don't know about branch name

git fetch origin branch_name

Second, you can check out remote branch into your local by:

git checkout -b branch_name origin/branch_name

-b will create new branch in specified name from your selected remote branch.


Viewing latest article 15
Browse Latest Browse All 49

Trending Articles