libgit2_d.reset

Undocumented in source.

Members

Enums

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