git 上传代码报错:✖ eslint –fix found some errors. Please fix them and try committing again.

1877861722 2023-4-23 57 4/23

奇奇怪怪的问题,找了半天答案依旧不知道怎么回事

本来一直好好的,直到今天搬代码仓库了,写好代码提交推送到仓库,出现如下错误:

✖ eslint --fix found some errors. Please fix them and try committing again.

翻遍百度找到的答案,但依然没有给解释,后续有时间再看看这个问题吧

只需要在提交时用下面这句即可解决

git commit --no-verify -m "提交时的注释"

 

- THE END -

1877861722

4月23日17:08

最后修改:2023年4月23日
0

非特殊说明,本博所有文章均为博主原创。

共有 0 条评论