cargo::sources::git::oxide

Function reinitialize

Source
pub fn reinitialize(git_dir: &Path) -> CargoResult<()>
Expand description

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