pub fn reset_hard(repo: &Repository, sha: &str) -> Result<(), PosixError>
Expand description

Errors

Returns an error when git reset –hard fails