On this page:
8.18
top
up

39RevertπŸ”— i

procedure

( 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.

procedure

( git_revert_commit repo
revert_commit
our_commit
mainline
merge_options)index?
repo:repository?
revert_commit:commit?
our_commit:commit?
mainline:integer?
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.

procedure

( git_revert_init_optionsoptsversion)integer?

opts:git_revert_options?
version:integer?
Initializes a git_revert_options with default values. Equivalent to creating an instance with GIT_REVERT_OPTIONS_INIT.

top
up

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /