$ git revert HEAD
husky > prepare-commit-msg (node v8.10.0)
./scripts/merge-ban.js > [!] コミットメッセージの解析に失敗しました:
Revert "🏷️ unistの型情報をexportするように変更"
This reverts commit 02ad1d5bad194a6d289d5716dd4353156bbceedb.
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# On branch feature/introduce-unified
# Changes to be committed:
# modified: src/parser/dsl.type.ts
#
husky > prepare-commit-msg hook failed (cannot be bypassed with --no-verify due to Git specs)
その後、git commitを試みるが、同じメッセージが出現して先へ進めない。
$ git commit
husky > pre-commit (node v8.10.0)
↓ Stashing changes... [skipped]
→ No partially staged files found...
✔ Running linters...
husky > prepare-commit-msg (node v8.10.0)
./scripts/merge-ban.js > [!] コミットメッセージの解析に失敗しました:
Revert "🏷️ unistの型情報をexportするように変更"
This reverts commit 02ad1d5bad194a6d289d5716dd4353156bbceedb.
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# On branch feature/introduce-unified
# Changes to be committed:
# modified: src/parser/dsl.type.ts
#
husky > prepare-commit-msg hook failed (cannot be bypassed with --no-verify due to Git specs)
git revert
コマンドを実行すると、以下のメッセージがコンソールに出現し、失敗してしまう。その後、
git commit
を試みるが、同じメッセージが出現して先へ進めない。この問題を解決してほしい。