Skip to main content

get_head_commit

Function get_head_commit 

Source
pub fn get_head_commit() -> Option<String>
Expand description

Return the current HEAD commit hash, or None if not in a git repo.