When doing a regular git commit, git commit --verbose shows the diff in the text editor when writing the commit message.
git commit --verbose
Suppose I am doing an interactive r
To show the diff:
git -c commit.verbose=true rebase --continue
To make all commits verbose without having to specify -c commit.verbose=true every time, add this to ~/.gitconfig:
-c commit.verbose=true
~/.gitconfig
[commit] verbose = true
Reference: man git-config.