Microsoft/vscode

Git - Checkout command not allowing the option to stash or migrate any change you’ve made locally

Open

#249.087 geöffnet am 16. Mai 2025

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (1 zugewiesene Person)TypeScript (10.221 Forks)batch import
buggithelp wanted

Repository-Metriken

Stars
 (74.848 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 11h 43m) (1.000 gemergte PRs in 30 T)

Beschreibung

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.100.1
  • OS Version: Window 11

When calling commands.executeCommand("git.checkout", repo, name) with local changes you get the following:

Image

But commands.executeCommand("git.checkout", repo) and having the user select the branch gives:

Image

Contributor Guide