Closed jianghai closed 9 years ago
You can't have a callback for each command, as it's really just one command, you join them.
Easiest would probably be to just do the check in shell script, but that has nothing to do with this task and would be better asked on StackOverflow.
I have multiple commands like
When clone the repro and destination already exists, I want to exec 'git pull', how could I do ?