I want to be able to commit without having to say something about why I am committing. Is there a way to prevent git from committing because I do not fill in a comment. I could do this with SVN without a problem, but I can't with git for some reason.
Ted.
From git-commit manual
git commit --allow-empty-message
Take a look at the answer to this SO question:
Note that, though it might seem annoying at first, it's better to train yourself to actually enter comments. The above question also has links that debate/explain why this might be important.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With