Function jj_lib::git::reset_head
source ยท pub fn reset_head(
mut_repo: &mut MutableRepo,
git_repo: &Repository,
wc_commit: &Commit,
) -> Result<(), Error>
Expand description
Sets HEAD@git
to the parent of the given working-copy commit and resets
the Git index.