-1

Context:

  • working on branch A
  • branch B has been created remotely and being updated
  • git branch -a does not show branch B

How can branch B be checked out?

Sebi
  • 3,733
  • 13
  • 56
  • 99

1 Answers1

1

You should do this:

git fetch --all # Fetch all remote branches
git checkout B
Antonio Petricca
  • 6,313
  • 5
  • 28
  • 63