List all changed files with change status between Git commits (added, modified, deleted) [duplicate] August 6, 2023 by Tarik Use --name-status, it’s the same as --name-only plus the status of changed files: git diff --name-status SHA1 SHA2