Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentRef ¶
CurrentRef returns the current reference or branch name, with the Git directory specified by path
git -C path rev-parse --abbrev-ref HEAD
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.