我可以在执行 "git push" 命令之前创建自定义任务或验证吗?
can I create custom tasks or validations before execute the "git push" command?
我想要的是:在执行命令"git push"的那一刻,执行其他一些脚本来验证我的代码(代码审查)。
例如:
当运行 Git push -> 运行 MSBuild code analyzer (sonarqube scan),如果有错误不允许"git push"
感谢
我想要的是:在执行命令"git push"的那一刻,执行其他一些脚本来验证我的代码(代码审查)。
例如: 当运行 Git push -> 运行 MSBuild code analyzer (sonarqube scan),如果有错误不允许"git push"
感谢