Microsoft/vscode

Git - Add option for git.untrackedChanges to accept current git repo setting for git's status.showUntrackedFiles

Offen

#249.351 geöffnet am 20.05.2025

 (3 Kommentare) (28 Reaktionen) (1 zugewiesene Person)TypeScript (39.847 Forks)batch import
feature-requestgithelp wanted

Repository-Metriken

Stars
 (184.936 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 11h 43m) (1.000 gemergte PRs in 30 T)

Beschreibung

Add option for VSCode's git.untrackedChanges to use current setting of git's status.showUntrackedFiles. That will make it possible to edit dotfiles git bare repository that has git's status.showUntrackedFiles=no

GIT_WORK_TREE="$HOME" GIT_DIR="$HOME/.dotfiles" code "$HOME"

Add 4th option, named "git.status.showUntrackedFiles", that will run command like git config --local status.showUntrackedFiles, if equals to yes should be same as "mixed", if no should be equivalent of "hidden":

Image


Contributor Guide