Answers for "git check branch from remote"

13

how to see remote branch git

git remote show origin
Posted by: Guest on September-04-2020
0

How do I check out a remote Git branch?

In this case, you probably want to create a local test branch which is tracking the remote test branch:

$ git branch test origin/test
In earlier versions of git, you needed an explicit --track option, but that is the default now when you are branching off a remote branch.

To create the local branch and switch to it, use:

$ git checkout -b test origin/test
Posted by: Guest on March-15-2022

Code answers related to "git check branch from remote"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language