Skip to main content

current_git_branch

Function current_git_branch 

Source
pub fn current_git_branch() -> Option<String>
Expand description

Get the current git branch name, or None if not in a git repo.