禁止git提交时执行npm run -s precommit ... 拿pre-commit文件来举例,顾名思义,这个脚本文件会在你执行git commit -m 'description'(提交源码) ...
確定! 回上一頁