Function cargo::sources::git::utils::reset

source ·
fn reset(
    repo: &Repository,
    obj: &Object<'_>,
    config: &Config
) -> CargoResult<()>
Expand description

git reset --hard to the given obj for the repo.

The obj is a commit-ish to which the head should be moved.