You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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.
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