How to commit no change and new message?
There’s rarely a good reason to do this, but the parameter is –allow-empty for empty commits (no files changed), in contrast to –allow-empty-message for empty commit messages. You can also read more by typing git help commit or visiting the online documentation. While the tree object (which has a hash of its own) will be … Read more