Skip to content

add a Robo task to check git status is clean #54

Description

@joachim-n

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions