Function asyncgit::sync::branch::checkout_commit
source ยท pub fn checkout_commit(
repo_path: &RepoPath,
commit_hash: CommitId
) -> Result<()>
Expand description
Detach HEAD to point to a commit then checkout HEAD, does not work if there are uncommitted changes