我希望在运行
git
提交命令后执行脚本。git
提交命令后执行脚本。以下是使用Aurora的方法:
如果您正在使用Linux系统,请安装Aurora。
#download the binary
wget https://github.com/OUIsolutions/ProjectAurora/raw/main/outputs/binarys/Aurora
#give binary permission of execution
sudo chmod +x Aurora
#move the Binary to usr/bin
sudo mv Aurora /usr/bin/Aurora
如果您在当前代码库中,那么调用如下:
Aurora --comands '<your comand>'
如果不是:
Aurora --repository <your repository> --comands '<your comand>'