pub fn update_head(layout: &RepoLayout, commit_hash: &Hash) -> RefResult<()>Expand description
Update the ref HEAD currently points at (or HEAD itself, if
detached) to commit_hash.
pub fn update_head(layout: &RepoLayout, commit_hash: &Hash) -> RefResult<()>Update the ref HEAD currently points at (or HEAD itself, if
detached) to commit_hash.