Function reset

Source
pub fn reset(commit: &str, hard: bool) -> Result<()>