Skip to main content

update_head

Function update_head 

Source
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.