Tested with https://gitlab.esrf.fr/icat/icat-plus/-/merge_requests/295. Works like a charm!
This will create a new commit in order to revert the existing changes.