HiveBrain v1.2.0
Get Started
← Back to all entries
snippetMinor

how to delete branch with vscode

Submitted by: @import:stackexchange-devops··
0
Viewed 0 times
deletewithvscodehowbranch

Problem

I created three branches on github.How can I delete one branch on vscode? just to workaround this, I delete the branch on github, go back to vscode to pull/synch etc but even though deleted branch does not exist on github, vscode seems to still have it. How can I properly delete a branch on vscode?

Solution

Menu - View - SCM, choose the project then, More actions - Branch - Delete Branch. If branch is deleted on github, on vscode, More actions - Pull,Push-Sync, otherwise vscode still is on old cache.

Context

StackExchange DevOps Q#15177, answer score: 1

Revisions (0)

No revisions yet.