Posted on 2024-07-14 by Matt.
git commit --verbose
docs or git commit --help
Show a diff to help you remember what changes you're about to commit.
$ git commit --verbose
Add commit.verbose
to your global Git config.
$ git config --global commit.verbose true
Or add to your .gitconfig
like so
[commit]
verbose = true