Skip to main content

current

Function current 

Source
pub fn current() -> Result<String, BranchError>
Expand description

Get the current branch name.

ยงErrors

Returns an error if the branch cannot be determined.