It would be useful to have a task which returns whether the current git status is clean.
Presumably, you'd want a FALSE to possibly cause the whole robot command to fail and complain with an error, but I'm not sure how to do that.
The git command is probably:
git status --porcelain --untracked-files=no
Empty output means status is clean.
It would be useful to have a task which returns whether the current git status is clean.
Presumably, you'd want a FALSE to possibly cause the whole robot command to fail and complain with an error, but I'm not sure how to do that.
The git command is probably:
Empty output means status is clean.