Microsoft/vscode

Git - Honor `git.autoStash` when switching branches

Open

#240,571 opened on Feb 12, 2025

 (0 comments) (0 reactions) (1 assignee)TypeScript (39,847 forks)batch import
feature-requestgithelp wantedteam-low-hanging

Repository metrics

Stars
 (184,936 stars)
PR merge metrics
 (Avg merge 11h 43m) (1,000 merged PRs in 30d)

Description

  1. Have git.autoStash enabled
  2. Switch branches with changes in working tree
  3. :bug: modal dialog appears asking whether I want to stash changes

I would expect that auto stash just happens and that the stash is automatically popped after switching branches

Contributor guide