Microsoft/vscode

Git - provide undo for discard untracked files

Open

#241,884 opened on Feb 25, 2025

View on GitHub
 (0 comments) (1 reaction) (1 assignee)TypeScript (10,221 forks)batch import
feature-requestgithelp wanted

Repository metrics

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

Description

Testing #241476

  • Open a folder/workspace that contains a git repository
  • Ensure that the git.untrackedChangesSoftDelete setting is set to true
  • Create a new file in the repository
  • Switch to the Changes view and click discard
  • try to undo. It wants to undo the file creation

Contributor guide