Posts | About

Commit Message Writer's Block? Here's the Cure

gitcheat-sheetvideo

Posted on 2024-07-14 by Matt.

Cheat Sheet

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

commit.verbose docs

Add commit.verbose to your global Git config.

$ git config --global commit.verbose true

Or add to your .gitconfig like so

[commit]
    verbose = true