文件名称:pre-commit
文件大小:2KB
文件格式:
更新时间:2023-04-29 08:23:06
git cppcheck pre-commit
git commit时候使用pre-commit,做cppcheck.使用方法: 1. 安装软件 sudo apt-get install cppcheck 2. 本地使用githook 做pre-commit校验 拷贝到本地的工程中.git/hook/目录 这样进行提交前commit时候,如果出错,会有显示,需要大家手动解决
文件名称:pre-commit
文件大小:2KB
文件格式:
更新时间:2023-04-29 08:23:06
git cppcheck pre-commit
git commit时候使用pre-commit,做cppcheck.使用方法: 1. 安装软件 sudo apt-get install cppcheck 2. 本地使用githook 做pre-commit校验 拷贝到本地的工程中.git/hook/目录 这样进行提交前commit时候,如果出错,会有显示,需要大家手动解决