Answers: <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>
  
Answers: CC BY-SA 4.0
Answers: 2022-11-02T07:10:54.540Z
Answers: 2022-11-02T07:10:54.540Z
Answers: user37582
Answers: <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>
  
Answers: CC BY-SA 4.0
Answers: 2021-12-27T07:18:54.443Z
Answers: 2021-12-27T07:18:54.443Z
Answers: hakkican
Answers: <p><kbd>CTRL</kbd> + <kbd>SHIFT</kbd> + <kbd>P</kbd> and type <code>delete branch</code></p>
  
Answers: CC BY-SA 4.0
Answers: 2024-05-29T07:06:35.420Z
Answers: 2024-05-29T10:22:42.700Z
Answers: 2024-05-29T10:22:42.700Z
Answers: T.Todua
Body: <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>
  
Tags: <github><vscode>
Title: how to delete branch with vscode
UserDisplayName: hakkican
ThreadText: # 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`
  
  
  ---
  
  