Note to future self: when you want git to tell you all the files you've modified, but not those you've deleted (e.g. to pipe through xargs and feed to your linter for bulk-linting), the command you're looking for is -
git diff --name-only --diff-filter=M
#note #git #sourceControl #bash #linux
Via: đź”— https://danq.me/2025/06/14/git-diff-name-only-diff-filterm/