Skip to main content

git_current_branch

Function git_current_branch 

Source
pub fn git_current_branch(path: &Path) -> Result<String>
Expand description

Get the current branch name for a repository/worktree path.