Microsoft/vscode

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

開放

#249,351 建立於 2025年5月20日

 (3 則留言) (28 個反應) (1 位負責人)TypeScript (39,847 個分叉)batch import
CarPlayGood first issuefeature-requestgithelp wantediOS

倉庫指標

星標
 (184,936 顆星)
PR 合併指標
 (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


貢獻者指南