restore_to_commit

Function restore_to_commit 

Source
pub fn restore_to_commit(
    repo_path: &Path,
    commit_id: &str,
) -> Result<(), GitToolingError>
Expand description

Restore the working tree to match the given commit ID.