Module reset

Module reset 

Source
Expand description

Git reset operations

Provides functionality for resetting repository state to a specific commit.

Structs§

ResetOpts
Options for reset operation

Enums§

ResetMode
Reset mode determines what gets reset

Functions§

reset
Reset repository to a specific commit
reset_hard
Hard reset to a commit (moves HEAD, resets index and working directory)
reset_mixed
Mixed reset to a commit (moves HEAD and resets index)
reset_soft
Soft reset to a commit (only moves HEAD)