git_revert

Reverts the given commit, producing changes in the index and working directory.

@param repo the repository to revert @param commit the commit to revert @param given_opts the revert options (or null for defaults) @return zero on success, -1 on failure.

Meta