Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckoutGitBranch ¶
CheckoutGitBranch switches the repository at repoPath to the branch specified by branchName.
func GetCurrentBranch ¶
GetCurrentBranch returns the head ref of a Git Repository
func ListGitBranches ¶
ListGitBranches opens the Git repository located at repoPath and returns a slice of branch names found in the repository.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.