Rollback to latest commit

In the git history, I haven't been able to find a way to roll back to the latest commit (essentially a git reset --hard).

Here, the repo is dirty:

image

But rollback is greyed out:

image

I guess either adding a reset button to the repository modal or enabling the rollback for the latest version would suffice.