git提交前检查
在目录.git/hooks下有很多文件,如pre-commit.sample即为提交前检查,默认文件名包含.sample,去掉即起作用