1

I currently have a branch on my github called gh-pages. Locally, I cannot tell that this branch exists. Is there a way to be able to move to this branch? Could I somehow make a branch of it locally?

Thanks

FlamePrinz
  • 490
  • 1
  • 5
  • 20

1 Answers1

1

You can list all branches locally using git branch -a. You can fetch all remote branches locally using git fetch or fetch a single remote branch locally using git fetch origin gh-pages:gh-pages. You can check out branches then locally using git checkout gh-pages

cplusplusrat
  • 1,435
  • 12
  • 27