Skip to main content

get_root_commit

Function get_root_commit 

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

Get the root commit SHA (first commit in history) from a working directory.