VSC: Deleting deleted remote branches

Having a very frustrating problem where I can’t get rid of remote branches inside of VSC, when they were deleted on GitHub.

Already tried:

  • Deleting from inside GitLens (error: unable to delete <‘branchName’>: remote ref does not exist, which makes sense)
  • Running git fetch --prune

So a simple restart and ‘git fetch --prune’ worked even though I tried that earlier :upside_down_face: