[Git submission error] Git commit error husky > pre-commit (node v16.15.0) No staged files match any of provided

1. Error reporting problem When
using , the following error is reported:git commit -m'上传'
insert image description here

2. Solution:
Change git commit -m "XXX" git commit --no-verify -m '上传'to !

insert image description here

Guess you like

Origin blog.csdn.net/weixin_48596030/article/details/128355518