How to create a Git commit without a message?
Solution
Here it is:
git commit --allow-empty-message -m ""
Explanation
To create a Git commit without a message, or with an empty message, you can use the --allow-empty-message flag with the git commit command.
git commit --allow-empty-message -m "...
blog.alexandrecalaca.com1 min read