cargo::sources::git::utils

Function reinitialize

Source
fn reinitialize(repo: &mut Repository) -> CargoResult<()>
Expand description

Reinitializes a given Git repository. This is useful when a Git repository seems corrupted and we want to start over.