Quantcast
Viewing latest article 28
Browse Latest Browse All 49

Answer by ndim for 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.


Viewing latest article 28
Browse Latest Browse All 49

Trending Articles