No staged files match any of provided globs

git commit 失败错误提示如下图所示:

image.png

  • 解决办法为 在提交命令上加上--no-verify(git commit --no-verify -m '无效提交,作废'),即可成功commit
    image.png

评论

暂无评论