Home
/
Blogs
/
Can't see remote branch in VS Code

Can't see remote branch in VS Code

July 11, 2024, Abdush Miah

Scenario

So you've created a new branch from another machine, or did this using a browser for example and now you're back on your machine and or you've launched VS Code locally on your machine and you cannot see this branch which you created.

This article provides you with quick steps on how you can resolve this.

In your VS Code launch terminal and ensure you're in the parent directory and or the directory in which your .git file exists and type the following command:

git fetch --all