Skip to content

Home

Create an empty commit

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

Start typing a keyphrase to see matching snippets.