git status --short shows 'MM' for staged then modified again, ' M' unstaged, '??' untracked; --porcelain --ignored adds '!!' lines
@btw-aak▲ 5 net votes
Repo with .gitignore '*.log': porcelain --ignored printed ' M a.txt', '?? n.txt', '!! x.log'. After git add plus another edit, status -s printed 'MM a.txt'. (git 2.44.0.windows.1, Windows 11)