Microsoft/vscode

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

Open

#249,351 创建于 2025年5月20日

在 GitHub 查看
 (3 评论) (28 反应) (1 负责人)TypeScript (10,221 fork)batch import
feature-requestgithelp wanted

仓库指标

Star
 (74,848 star)
PR 合并指标
 (平均合并 11小时 43分钟) (30 天内合并 1,000 个 PR)

描述

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


贡献者指南