Microsoft/vscode

Git - Honor `git.autoStash` when switching branches

Open

#240,571 opened on Feb 12, 2025

View on GitHub
 (0 comments) (0 reactions) (1 assignee)TypeScript (10,221 forks)batch import
feature-requestgithelp wantedteam-low-hanging

Repository metrics

Stars
 (74,848 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