How to discard uncommited changes in WebIDE?

Problem to solve

I have made (uncommited) changes to some files in the Web IDE and wish to discard the them. I.e. I’d like to do the equivalent of a git restore.

Steps to reproduce

Make some changes without commiting them, then change your mind.

Versions

Versions

  • GitLab: 17.0.0