pub fn reset_hard() -> Result<()>Expand description
Reset the worktree and index to HEAD. Safe to lose nothing only on a
clean tree; callers must check worktree_is_clean first.
pub fn reset_hard() -> Result<()>Reset the worktree and index to HEAD. Safe to lose nothing only on a
clean tree; callers must check worktree_is_clean first.