Skip to main content

get_head_commit

Function get_head_commit 

Source
pub fn get_head_commit(repo_path: &Path) -> Result<String, GitError>
Expand description

Get the current HEAD commit ID as a string.