in addition to None, id can be an empty list on this case
This will create a new commit in order to revert the existing changes.