Create an empty commit

Git, Commit · Apr 13, 2021

Creates an empty commit.

git commit --allow-empty -m <message>

# Examples
git commit --allow-empty -m "Empty commit"
# Creates an empty commit with the message "Empty commit"

More like this