fn reset(
repo: &Repository,
obj: &Object<'_>,
gctx: &GlobalContext,
) -> 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.
fn reset(
repo: &Repository,
obj: &Object<'_>,
gctx: &GlobalContext,
) -> CargoResult<()>
git reset --hard
to the given obj
for the repo
.
The obj
is a commit-ish to which the head should be moved.