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

posted @ 2022-01-28 17:59  danmo_xx  阅读(465)  评论(0编辑  收藏  举报