test TCR Commit Revert

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
CharllierJr