Skip to main content

restore_head

Function restore_head 

Source
pub fn restore_head(dir: &Path, tmp: &Path) -> Result<(), GitError>
Expand description

Makes the worktree at dir equal to its HEAD commit’s tree.