Microsoft/vscode

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

开放

#249,087 创建于 2025年5月16日

 (2 条评论) (0 个反应) (1 位负责人)TypeScript (39,847 个派生)batch import
BugGood first issuebuggithelp wantediOS

仓库指标

星标
 (184,936 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南