Recently, I have pushed my code from local git to azure-devops, but after pushing code and clicking on "Fetch" doesn't update my local branches, it should have two branches dev & master but showing only one.
So, How can I update branches locally to show dev and master in my Visual Studio 2017 Git?
You may have to save settings in your Visual Studio "Team Explorer" to always prune on fetch (then fetch branches again from a remote server), to do that follow these steps:
You should now see updated remote branches now.
Subscribe to our weekly Newsletter & Keep getting latest article/questions in your inbox weekly