Versions in this module Expand all Collapse all v0 v0.6.5 May 4, 2026 Changes in this version + var ProjectRoot string + func ActiveReleaseBranches() []string + func AllLocalBranches() []string + func BranchCommitSubjects(parentBranch, branchName string) []string + func BranchExists(name string) bool + func BranchMergeCommitSubjects(parentBranch, branchName string) []string + func BranchTypeOf(name string) string + func CurrentBranch() string + func Exec(args ...string) error + func ExecLines(args ...string) []string + func ExecQuiet(args ...string) string + func ExecResult(args ...string) (int, string, string) + func ExecSilent(args ...string) error + func FlowVersion(version string) string + func HasStagedChanges() bool + func HasUncommittedChanges() bool + func IsGitFlowInitialized() bool + func IsGitRepo() bool + func LatestTag() string + func RemoteExists(name string) bool + func Remotes() []string + func RemovePrefix(s, prefix string) string + func Run(cmdStr string) error + func RunLines(cmdStr string) []string + func RunQuiet(cmdStr string) string + func RunResult(cmdStr string) (int, string, string) + func SetDefaultClient(c GitClient) + func SplitCommand(s string) []string + func StashPop() error + func StashSave(msg string) error + func TagExists(tag string) bool + type GitClient interface + Exec func(args ...string) error + ExecLines func(args ...string) []string + ExecQuiet func(args ...string) string + ExecResult func(args ...string) (int, string, string) + func DefaultClient() GitClient + type LocalGitClient struct + Root string + func NewLocalGitClient(root string) *LocalGitClient + func (c *LocalGitClient) Exec(args ...string) error + func (c *LocalGitClient) ExecLines(args ...string) []string + func (c *LocalGitClient) ExecQuiet(args ...string) string + func (c *LocalGitClient) ExecResult(args ...string) (int, string, string) + type WorkTreeStatus struct + Staged int + Total int + Unstaged int + Untracked int + func WorkingTreeStatus() WorkTreeStatus