Team Explorer + Visual Studio Online + Git out of sync -


after move tfs vc git repository on our vso subscription, got following cenario.

from given remote repository on vso named "repoa", after initial clone, presents on team explorer me "main" branch repo.

then created branch "mybranch" "main" branch locally. made changes code, , commit > publish branch vso.

now if go vso portal, on code tab, can see "mybranch" along "main" branch there.

so, if else on team clone "repoa" or if had cloned, fetch team explorer, see remote branchs on branchs topic @ team explorer. ok...

now, if go vso portal, , open pull request "mybranch" -> "master", review it, approve it, click on complete request , click on delete source branch, branch disappear server(which expected behavior click on button).

the problem if fetch changes, branch not desappear local branches(the blue circle) neither remotes/origin(the branches on red circle) on team explorer/branches guide.

team explorer git

what need is, when delete remote branch on vso (the branches on red circle) need removed automatically(or fetch command) remotes/origin "folder" on team explorer.

we know local branches(the blue circle) must deleted manually, so, how keep team explorer synced changes made me , others on vso portal while using git repository?

if design of git "way" , git nubish, please let me know , i'll definetivelly open feature request on vso/vs teams user voice have "extra" implemented on team explorer same way has "sync" button vs feature, not git one.

thanks! appreciate help, clarifications.

what looking fetch command prune, not supported @ present in vso. workaround, can configure git prune default whenever git fetch. can using git config remote.origin.prune true

see thread details, automatic prune git fetch or pull

also, might if can upvote below feature request @ user voice :-)

http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/7204022-visual-studio-git-propose-to-prune-when-fetchi

http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/7744350-add-pruning-of-a-git-remote-to-the-team-explorer


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -