【发布时间】:2019-02-19 14:08:54
【问题描述】:
我正在尝试对我的 git 存储库中的两个暂存文件进行更改。当我执行 git commit -m"comment" 命令时,我收到消息 Fatal error: "Unable to find Gruntfile."
这两个文件与使用 grunt 无关。
问题:如何让我的 git 停止检查 grunt?
【问题讨论】:
-
我怀疑这是一个骗局。问题是为什么
git会运行grunt(肯定是预提交挂钩)以及如何阻止它。