How to force Visual Studio to refresh list of remote git branches in Team Explorer-Branches?

Yoda

Visual Studio 2015 and 2017 doesn't update remote branches in Team Explroer - Branches section. This means that whenever somebody adds a branch on remote or remove I can't see it through Team Explorer. Instead I am forced to use Source Tree and then magically Visual Studio notices the new branches. I click refresh button like a maniac and I tried following commands in Package Manager Console:

git remote prune origin --dry-run
git config remote.origin.prune true

it does nothing or at least not what I am asking.

How to fix this?

Edmund Dipple

You need to trigger a git fetch from Visual Studio (which Sourcetree has been doing up until now)

In Visual Studio 2017 Team Explorer go to the "Branches" section, right click the Master branch and select "fetch". You should now be able to see the new remote branches.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

How can I refresh the list of remote branches in my Visual Studio 2017 Team Explorer panel?

From Java

How do I refresh branches (local/remote) in Visual Studio when using Git?

From Java

When does Git refresh the list of remote branches?

From Dev

Visual Studio 2013 - Git - Fetch remote branches

From Dev

Git list of remote branches

From Dev

Git list of remote branches

From Dev

Switching branches does not refresh Solution Explorer in Visual Studio

From Dev

List branches of particular remote in git

From Dev

Visual studio git UI doesnt shows new remote branches

From Dev

Building specific branches on Visual Studio Team Services

From Java

How do I list all remote branches in Git 1.7+?

From Dev

Git: How do I list local branches that are tracking remote branches that no longer exist?

From Dev

List branches of a git remote repo without cloning it

From Dev

git list remote branches, order by number of commits

From Dev

Visual Studio 2015 git show all branches

From Dev

Differences between git branches using Visual Studio

From Dev

Visual Studio 2013 remove deleted git branches

From Dev

Git No remote branches

From Dev

Git No remote branches

From Dev

How to delete malformed remote branches/tags in git?

From Java

How to clone all remote branches in Git?

From Dev

How to view all branches in a remote git repository

From Dev

How to delete malformed remote branches/tags in git?

From Java

How to compare different branches in Visual Studio Code

From Dev

Change GIT account of Visual Studio Team Explorer

From Dev

Git: remove -f and --force branches

From Dev

Get total remote branches in git

From Dev

Merge two remote branches in git

From Dev

Git merge branches that are merged in remote

Related Related

  1. 1

    How can I refresh the list of remote branches in my Visual Studio 2017 Team Explorer panel?

  2. 2

    How do I refresh branches (local/remote) in Visual Studio when using Git?

  3. 3

    When does Git refresh the list of remote branches?

  4. 4

    Visual Studio 2013 - Git - Fetch remote branches

  5. 5

    Git list of remote branches

  6. 6

    Git list of remote branches

  7. 7

    Switching branches does not refresh Solution Explorer in Visual Studio

  8. 8

    List branches of particular remote in git

  9. 9

    Visual studio git UI doesnt shows new remote branches

  10. 10

    Building specific branches on Visual Studio Team Services

  11. 11

    How do I list all remote branches in Git 1.7+?

  12. 12

    Git: How do I list local branches that are tracking remote branches that no longer exist?

  13. 13

    List branches of a git remote repo without cloning it

  14. 14

    git list remote branches, order by number of commits

  15. 15

    Visual Studio 2015 git show all branches

  16. 16

    Differences between git branches using Visual Studio

  17. 17

    Visual Studio 2013 remove deleted git branches

  18. 18

    Git No remote branches

  19. 19

    Git No remote branches

  20. 20

    How to delete malformed remote branches/tags in git?

  21. 21

    How to clone all remote branches in Git?

  22. 22

    How to view all branches in a remote git repository

  23. 23

    How to delete malformed remote branches/tags in git?

  24. 24

    How to compare different branches in Visual Studio Code

  25. 25

    Change GIT account of Visual Studio Team Explorer

  26. 26

    Git: remove -f and --force branches

  27. 27

    Get total remote branches in git

  28. 28

    Merge two remote branches in git

  29. 29

    Git merge branches that are merged in remote

HotTag

Archive