diff --git a/scripts/git/commit-msg.js b/scripts/git/commit-msg.js index 37d662549fbb0..7b80d058f92cf 100755 --- a/scripts/git/commit-msg.js +++ b/scripts/git/commit-msg.js @@ -24,7 +24,10 @@ if (msgFile) { isValid = checkMsg(firstLine); if (!isValid) { - console.error('\nCheck CONTRIBUTING.md at the root of the repo for more information.'); + console.error( + '\nCheck CONTRIBUTING.md at the root of the repo for more information.' + + '\n' + + '\n(In case you need the invalid commit message, it should be stored in \'.git/COMMIT_EDITMSG\'.)'); } }