-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
  • 4,262
  • 13
  • 60
  • 116

1 Answers1

1

You should do this:

git fetch --all # Fetch all remote branches
git checkout B
Antonio Petricca
  • 8,891
  • 5
  • 36
  • 74