Documentation ¶
Overview ¶
Package git allows to interact with Git.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurrentBranchName ¶
GetCurrentBranchName retrieves the current branch name or empty string in case of detached state.
func GetCurrentBranchNameE ¶
GetCurrentBranchNameE retrieves the current branch name or empty string in case of detached state.
func GetCurrentGitRef ¶ added in v0.29.0
GetCurrentGitRef retrieves current branch name, lightweight (non-annotated) tag or if tag points to the commit exact tag value.
func GetCurrentGitRefE ¶ added in v0.29.0
GetCurrentGitRefE retrieves current branch name, lightweight (non-annotated) tag or if tag points to the commit exact tag value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.