( git_revertrepocommitgiven_opts)→integer?
repo:repository?
commit:commit?
given_opts:git_revert_opts?
Reverts the given commit, producing changes in the index and working directory.
revert_commit
our_commit
mainline
merge_options) → index?
repo:repository?
revert_commit:commit?
our_commit:commit?
merge_options:merge_options?
Reverts the given commit against the given "our" commit, producing an index that reflects the result of the revert.
The returned index must be freed explicitly with git_index_free.
( git_revert_init_optionsoptsversion)→integer?
opts:git_revert_options?
Initializes a git_revert_options with default values. Equivalent to creating an instance with GIT_REVERT_OPTIONS_INIT.