<p>Go to View --&gt; select Command Platted option --&gt; select Delete Branch --&gt; and select the local branch which we have to delete</p>

CC BY-SA 4.0
2022-11-02T07:10:54.540Z
2022-11-02T07:10:54.540Z
user37582
<p>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.</p>

CC BY-SA 4.0
2021-12-27T07:18:54.443Z
2021-12-27T07:18:54.443Z
hakkican
<p><kbd>CTRL</kbd> + <kbd>SHIFT</kbd> + <kbd>P</kbd> and type <code>delete branch</code></p>

CC BY-SA 4.0
2024-05-29T07:06:35.420Z
2024-05-29T10:22:42.700Z
2024-05-29T10:22:42.700Z
T.Todua
<p>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?</p>

<github><vscode>
how to delete branch with vscode
hakkican
# how to delete branch with vscode

(Asked by: username_0 on 2021-12-27)

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?

**Tags:** github, vscode


---

## 3 answers

### Answer by username_1 on 2022-11-02. Score: 5

Go to View --> select Command Platted option --> select Delete Branch --> and select the local branch which we have to delete


---

### Answer by username_0 on 2021-12-27. Score: 3

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.


---

### Answer by username_2 on 2024-05-29. Score: 0

`CTRL` + `SHIFT` + `P` and type `delete branch`


---

