I was working in VS Code when I noticed it said I was on the 'master' branch instead of the feature branch I was working in. When I went to change to my branch, ALL the other branches were missing. VS Code apparently is no longer connecting to the remote. However, if I use Visual Studio instead of VS Code, I can see the branches just fine.

Also, ALL the files now appear as untracked in the master branch in VS Code. This is the second time this has happened I don't know what is causing it. The last time it happened, I deleted my local repo and recloned from the remote.

How can I get VS Code to see my remote branches again?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.