Skip to main content

current_head

Function current_head 

Source
pub fn current_head(repo_root: &Path) -> Option<String>
Expand description

Get current HEAD commit hash. Returns None if repo has no commits.