Skip to main content

local_git_branches

Function local_git_branches 

Source
pub async fn local_git_branches(cwd: &Path) -> Vec<String>
Expand description

Returns a list of local git branches. Includes the default branch at the beginning of the list, if it exists.