Expand description
Git reset operations
Provides functionality for resetting repository state to a specific commit.
Structs§
- Reset
Opts - Options for reset operation
Enums§
- Reset
Mode - 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)