Somebody pushed a branch called test with git push origin test to a shared repository. I can see the branch with git branch -r.

How do I check out the remote test branch? I’ve tried:

  • git checkout test, which does nothing
  • git checkout origin/test gives * (no branch)

40
40

Leave a Reply

Your email address will not be published. Required fields are marked *