Microsoft/vscode
在 GitHub 查看Git - Checkout command not allowing the option to stash or migrate any change you’ve made locally
Open
#249,087 创建于 2025年5月16日
buggithelp wanted
仓库指标
- Star
- (74,848 star)
- PR 合并指标
- (平均合并 11小时 43分钟) (30 天内合并 1,000 个 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:
But commands.executeCommand("git.checkout", repo) and having the user select the branch gives: