Skip to main content

get_head_sha

Function get_head_sha 

Source
pub fn get_head_sha<P: AsRef<Path>>(repo_path: P) -> Result<String, GitError>
Expand description

Get the HEAD commit SHA.