git | visual-studio | ide

Git branch not showing in Visual Studio Team Explorer

If you are having trouble to see the newly created (remote) git branches in the Visual Studio Team Explorer, try the workaround provided in this article.

Edson Frainlar
Edson FrainlarOctober 11, 2017 · 2 min read · Last Updated:

In our company, all the projects source code is under source control, which is Visual Studio Online (VSO). And most of them are using GIT as the version control (VSO supports Git as well as TFS).

Last year I initiated to follow Git Flow method as the branching model for the new projects and it’s going well. Colleagues are getting used to it.

Recently when I created a feature branch in the VSO online interface, I checked the Visual Studio manage branches window in the Team Explorer to checkout the new branch but couldn’t find it there under Remote Branch. The refresh button on the top of Team Explorer had no effect on the branches.

Workaround

Until visual studio provides a better solution, you can use the SYNC option in the Team Explorer, which will also fetch the new branch list.

Useful

If you want to know more about Git Flow, read this post.

This page is open source. Noticed a typo? Or something unclear?
Improve this page on GitHub


Edson Frainlar

Written byEdson Frainlar
Mission-driven Full-stack Developer with a passion for developing KTern, Dev Collaboration, and teaching. Curious to explore Quantum Information and Computing.
Connect

Is this page helpful?

Related SnippetsView All

Related ArticlesView All

Related VideosView All

What’s new in Visual Studio 2022 for testing

Optimizing msbuild (C#/.NET/C++) build performance with Visual Studio 2022

Welcome to Visual Studio 2022 – by Scott Hanselman and friends

Related Tools & ServicesView All

rtyley.github.io

BFG Repo-Cleaner by rtyley

A simpler, faster alternative to git-filter-branch for deleting big files and removing passwords from Git history.
vscode.dev

Visual Studio Code for the Web

Build with Visual Studio Code, anywhere, anytime, entirely in your browser.