📜  tcr test commit revert - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:04.682000             🧑  作者: Mango

代码示例1
alias test='npm test' #Javascript
alias test='./vendor/bin/phpunit tests'; #PHP 
alias commit='git commit -a';
alias revert='git reset --hard';
##
test && commit || revert