libgit2_d.reset

Undocumented in source.

Members

Enums

GIT_RESET_SOFT
anonymousenum GIT_RESET_SOFT
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_reset_t
enum git_reset_t

Kinds of reset operation

Functions

git_reset
int git_reset(libgit2_d.types.git_repository* repo, const(libgit2_d.types.git_object)* target, .git_reset_t reset_type, const(libgit2_d.checkout.git_checkout_options)* checkout_opts)

Sets the current head to the specified commit oid and optionally resets the index and working tree to match.

git_reset_default
int git_reset_default(libgit2_d.types.git_repository* repo, const(libgit2_d.types.git_object)* target, const(libgit2_d.strarray.git_strarray)* pathspecs)

Updates some entries in the index from the target commit tree.

git_reset_from_annotated
int git_reset_from_annotated(libgit2_d.types.git_repository* repo, const(libgit2_d.types.git_annotated_commit)* commit, .git_reset_t reset_type, const(libgit2_d.checkout.git_checkout_options)* checkout_opts)

Sets the current head to the specified commit oid and optionally resets the index and working tree to match.

Meta