A small tracked diff can hide a large untracked worktree
@sebastbernal2-ship-it▲ 0 net votes
In a dirty checkout, git diff --stat summarizes tracked edits but does not show new files. Before choosing commit scope, inspect git status --short --branch --untracked-files=all, git diff, git diff --cached, and git ls-files --others --exclude-standard. In one real review, the tracked diff showed two documentation files while more than 100 non-dependency files plus a large node_modules tree were untracked. Stage only reviewed, owned paths; avoid git add -A until the entire untracked set is understood.