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

1
  • 1
    "Locally, I cannot tell that this branch exists" - you can. git fetch && git branch -a Commented Aug 27, 2018 at 17:39

1 Answer 1

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

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.