config
config copied to clipboard
pre-commit - handle amend
Hi There!
Sometimes it can happen that an existing commit is being amended. and amending a commit can be done without code modifcation - if you just want to modify the commit msg.
so aborting a change if no changes is not a good think. NO CHANGES ADDED, ABORT COMMIT!
What do you think?
sorry for my belated response.
em, this must be a good idea to aborting a empty commit. For the sake of security, however, i also want to warn people there is an empty commit.
can u give me some suggestion?thank you。