git 提交eslint报错,push失败
命令行就可以解决
1.git add .
2.git commit --no-verify -m 'XXXXX'(重点)
3.git pull
4.git push

-----------------------------------------------
--legacy-peer-deps当你安装项目相关内容时,如果出现版本问题,可在命令后增加--legacy-peer-deps,可跳过版本问题
---------------------------------------------------------
git add 出现报错:
warning: in the working copy of 'unpackage/dist/dev/mp-weixin/app.wxss', LF will be replaced by CRLF the next time Git touches it
解决命令:git config --global core.autocrlf true
本文来自博客园,作者:danmo_xx,转载请注明原文链接:https://www.cnblogs.com/xx321/p/15853460.html

浙公网安备 33010602011771号