Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Does anyone know why all my Git branches disappeared on Visual Studio Community 2019?

I have been working on a project for a few weeks now. I was able to successfully clone a Git repository and create other branches and work on them. A few days ago, all my branches stopped showing. When I open the project, it says opening repository and it shows the correct one. When I look at Git > Local Repositories it shows this one as well. However, when I try to look at the branches, it shows nothing for both the Remotes and Locals. The New Branch button is disabled as well. I right clicked the VS solution and clicked on Open in Terminal and then did git branch -a. This showed all my branches. I just don't know why the application says No Branches in Git Changes. The Fetch, Pull and Push buttons are disabled too.

1 answer

This is just a shot in the dark, but sometimes VS forgets that it is using the Git Flow workflow and asks you to connect to the repository, as it used to in TFS. If you go to the Team Explorer tab (Team Explorer Home) and click the Git Changes button that sets back.

Hope that helps, Peter

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events