Function head_branch

Source
pub fn head_branch(repo: &Repository) -> Option<String>
Expand description

Lookup the branch that HEAD points to