pub enum ResetMode {
Soft,
Mixed,
Hard,
Merge,
Keep,
}Expand description
Reset mode.
Variants§
Soft
--soft: move HEAD, leave index and working tree.
Mixed
--mixed (default): move HEAD and index, leave working tree.
Hard
--hard: move HEAD, index, and working tree.
Merge
--merge.
Keep
--keep.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResetMode
impl RefUnwindSafe for ResetMode
impl Send for ResetMode
impl Sync for ResetMode
impl Unpin for ResetMode
impl UnsafeUnpin for ResetMode
impl UnwindSafe for ResetMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more