How can I make a new commit and create a new message if no changes are made to files?
commit
Is this not possible since the commit\'s code (SHA ?) will be the
Maybe as a more sensible alternative, you could create an annotated tag (a named commit with a message). See the git tag -a option.
git tag -a