搜索
您的当前位置:首页正文

git: invalid line length, Style checker failed for the following files, To check your modifications,

来源:榕意旅游网

**问题:**当使用git提交暂存区的内容时,如果出现以下消息无法提交时:

git: invalid line length, Style checker failed for the following files, To check your modifications, run: util/style.py -m

可以这样解决:
原因:git自身带有代码校验系统

需要忽视掉该校验,可以通过如下方法

git commit --no-verify -m "add generate ckpts shell"

即加上–no-verify参数即可。

因篇幅问题不能全部显示,请点此查看更多更全内容

Top