pub fn revert_commit(workdir: &Path, oid_str: &str) -> Result<()>
Revert a commit by OID using git revert --no-edit.
git revert --no-edit