0

I created a GitHub Repo then during first commit I created a main branch. After that I created a new branch named "Dev" in GitHub(Remote) how do I access the branch locally via VsCode? I want the Dev branch in my local machine This is from the GitHub repo

This is from my local machine

2
  • You need to fetch on your local repo so that it gets the updates from the remote... then you should be able to see the remote branch (then you can do operations like checkout, diff, merge, create a local branch from it etc etc). Commented Nov 1, 2022 at 10:58
  • run git fetch on your local machine -- from VSCode: open the [...] menu next to the top Source Control title, and select Fetch Commented Nov 1, 2022 at 10:59

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.