Visual Studio Code - remove branches deleted on GitHub that still show in VS Code? -


in vscode, after pull request , delete branch on github, branch still shows in visual studio code. if select branch, gives error, expected.

how remove these deleted branches vscode - can automatically?

i found way fix this. need remove remote links github repo, add remote again.

all branches deleted github no longer show in vscode. assuming origin name remote repo.

git remote remove origin 

then

git remote add origin git@github.com:your-username/repo-name.git 

Comments