git: Show index diff in commit message as comment December 18, 2022 by Tarik The --verbose (or -v) flag for git commit will display the diff of what would be committed: git commit --verbose