pub fn reset_hard(repo: &Repository, sha: &str) -> Result<(), PosixError>
Expand description
§Errors
Returns an error when git reset –hard fails
pub fn reset_hard(repo: &Repository, sha: &str) -> Result<(), PosixError>
Returns an error when git reset –hard fails