Revert the lockfile to its contents at a prior commit.
revert(project = NULL, commit = "HEAD")The project directory. If NULL, then the active
project will be used. If no project has been specifically activated,
the current working directory is used.
The commit associated with a prior version of the lockfile.
The revert() function is currently only implemented for projects using
git for version control.