Versions in this module Expand all Collapse all v0 v0.17.15 May 11, 2026 v0.17.14 May 11, 2026 Changes in this version + const DefaultCITimeout + const DefaultMaxConcurrency + const DefaultNavigationLocation + const DefaultNavigationMarker + const DefaultNavigationShowMerged + const DefaultNavigationWhen + const DefaultSplitHunkSelector + const DefaultSubmitDraft + const DefaultSubmitFooter + const DefaultSubmitWeb + const DefaultTrunk + const DefaultUndoDepth + const DefaultWorktreeAutoClean + const KeyApprovedHooks + const KeyBranchPattern + const KeyCICommand + const KeyCITimeout + const KeyMaxConcurrency + const KeyMergeMethod + const KeyNavigationLocation + const KeyNavigationMarker + const KeyNavigationShowMerged + const KeyNavigationWhen + const KeySplitHunkSelector + const KeySubmitAssignees + const KeySubmitDraft + const KeySubmitFooter + const KeySubmitLabels + const KeySubmitReviewers + const KeySubmitWeb + const KeyTrunk + const KeyTrunks + const KeyUndoDepth + const KeyWorktreeAutoClean + const KeyWorktreeBasePath + const NavigationLocationBody + const NavigationLocationComment + const NavigationLocationNone + const ProjectConfigFileName + const SubmitWebAlways + const SubmitWebCreated + const SubmitWebNever + var Options = []Option + var Sections = []Section + var ValidHunkSelectors = []string + var ValidMergeMethods = []string + var ValidNavigationLocation = []string + var ValidNavigationWhen = []string + var ValidSubmitWeb = []string + func AllGitKeys() []string + func ClearContinuationState(repoRoot string) error + func GenerateConfigDocs() string + func GenerateConfigTemplate() string + func GenerateYAMLExample() string + func PersistContinuationState(repoRoot string, state *ContinuationState) error + type BranchConfig struct + Pattern string + type BranchPattern string + const DefaultBranchPattern + func NewBranchPattern(pattern string) (BranchPattern, error) + func (p BranchPattern) ContainsScope() bool + func (p BranchPattern) GetBranchName(ctx GitContext, commitMessage string, scope string) (string, error) + func (p BranchPattern) IsValid() bool + func (p BranchPattern) String() string + func (p BranchPattern) WithDefault() BranchPattern + type CIConfig struct + Command string + Timeout int + type Configurer interface + AllTrunks func() []string + ApprovedPostWorktreeCreateHooks func() []string + BranchNamePattern func() string + CICommand func() string + CITimeout func() int + CombineCICommand func() string + CombineCITimeout func() int + GetBranchPattern func() BranchPattern + IsInitialized func() bool + IsPostWorktreeCreateHookApproved func(hook string) bool + IsTrunk func(branch string) bool + MaxConcurrency func() int + MergeMethod func() string + NavigationLocation func() string + NavigationMarker func() string + NavigationShowMerged func() bool + NavigationWhen func() string + SplitHunkSelector func() string + SubmitFooter func() bool + Trunk func() string + UndoStackDepth func() int + WorktreeAutoClean func() bool + WorktreeBasePath func() string + type ContinuationState struct + BranchesToRestack []string + BranchesToSync []string + CurrentBranchOverride string + RebasedBranchBase string + func GetContinuationState(repoRoot string) (*ContinuationState, error) + type GitConfig struct + func LoadConfig(repoRoot string) (*GitConfig, error) + func LoadGitConfig(repoRoot string) (*GitConfig, error) + func LoadGitConfigWithProject(repoRoot string) (*GitConfig, error) + func (c *GitConfig) AddApprovedPostWorktreeCreateHook(hook string) error + func (c *GitConfig) AddSubmitAssignee(assignee string) error + func (c *GitConfig) AddSubmitLabel(label string) error + func (c *GitConfig) AddSubmitReviewer(reviewer string) error + func (c *GitConfig) AddTrunk(trunk string) error + func (c *GitConfig) AllTrunks() []string + func (c *GitConfig) ApprovedPostWorktreeCreateHooks() []string + func (c *GitConfig) BranchNamePattern() string + func (c *GitConfig) CICommand() string + func (c *GitConfig) CITimeout() int + func (c *GitConfig) ClearApprovedPostWorktreeCreateHooks() error + func (c *GitConfig) ClearTrunks() error + func (c *GitConfig) CombineCICommand() string + func (c *GitConfig) CombineCITimeout() int + func (c *GitConfig) GetBranchPattern() BranchPattern + func (c *GitConfig) IsInitialized() bool + func (c *GitConfig) IsPostWorktreeCreateHookApproved(hook string) bool + func (c *GitConfig) IsTrunk(branch string) bool + func (c *GitConfig) MaxConcurrency() int + func (c *GitConfig) MergeMethod() string + func (c *GitConfig) NavigationLocation() string + func (c *GitConfig) NavigationMarker() string + func (c *GitConfig) NavigationShowMerged() bool + func (c *GitConfig) NavigationWhen() string + func (c *GitConfig) RemoveApprovedPostWorktreeCreateHook(hook string) error + func (c *GitConfig) RemoveTrunk(trunk string) error + func (c *GitConfig) ResetAllPersonal() error + func (c *GitConfig) Save() error + func (c *GitConfig) SetBranchNamePattern(pattern string) error + func (c *GitConfig) SetCICommand(cmd string) error + func (c *GitConfig) SetCITimeout(seconds int) error + func (c *GitConfig) SetCombineCICommand(cmd string) + func (c *GitConfig) SetCombineCITimeout(seconds int) + func (c *GitConfig) SetMaxConcurrency(n int) error + func (c *GitConfig) SetMergeMethod(method string) error + func (c *GitConfig) SetNavigationLocation(location string) error + func (c *GitConfig) SetNavigationMarker(marker string) error + func (c *GitConfig) SetNavigationShowMerged(show bool) error + func (c *GitConfig) SetNavigationWhen(when string) error + func (c *GitConfig) SetSplitHunkSelector(selector string) error + func (c *GitConfig) SetSubmitAssignees(assignees []string) error + func (c *GitConfig) SetSubmitDraft(draft bool) error + func (c *GitConfig) SetSubmitFooter(enabled bool) error + func (c *GitConfig) SetSubmitLabels(labels []string) error + func (c *GitConfig) SetSubmitReviewers(reviewers []string) error + func (c *GitConfig) SetSubmitWeb(web string) error + func (c *GitConfig) SetTrunk(trunk string) error + func (c *GitConfig) SetUndoStackDepth(depth int) error + func (c *GitConfig) SetWorktreeAutoClean(enabled bool) error + func (c *GitConfig) SetWorktreeBasePath(path string) error + func (c *GitConfig) SplitHunkSelector() string + func (c *GitConfig) SubmitAssignees() []string + func (c *GitConfig) SubmitDraft() bool + func (c *GitConfig) SubmitFooter() bool + func (c *GitConfig) SubmitLabels() []string + func (c *GitConfig) SubmitReviewers() []string + func (c *GitConfig) SubmitWeb() string + func (c *GitConfig) Trunk() string + func (c *GitConfig) UndoStackDepth() int + func (c *GitConfig) UnsetBranchNamePattern() error + func (c *GitConfig) UnsetCICommand() error + func (c *GitConfig) UnsetCITimeout() error + func (c *GitConfig) UnsetMaxConcurrency() error + func (c *GitConfig) UnsetMergeMethod() error + func (c *GitConfig) UnsetNavigationLocation() error + func (c *GitConfig) UnsetNavigationMarker() error + func (c *GitConfig) UnsetNavigationShowMerged() error + func (c *GitConfig) UnsetNavigationWhen() error + func (c *GitConfig) UnsetSplitHunkSelector() error + func (c *GitConfig) UnsetSubmitAssignees() error + func (c *GitConfig) UnsetSubmitDraft() error + func (c *GitConfig) UnsetSubmitFooter() error + func (c *GitConfig) UnsetSubmitLabels() error + func (c *GitConfig) UnsetSubmitReviewers() error + func (c *GitConfig) UnsetSubmitWeb() error + func (c *GitConfig) UnsetTrunk() error + func (c *GitConfig) UnsetUndoStackDepth() error + func (c *GitConfig) UnsetWorktreeAutoClean() error + func (c *GitConfig) UnsetWorktreeBasePath() error + func (c *GitConfig) WorktreeAutoClean() bool + func (c *GitConfig) WorktreeBasePath() string + type GitContext interface + Git func() git.Runner + type HooksConfig struct + PostWorktreeCreate []string + type MergeConfig struct + Method string + type NavigationConfig struct + Location string + Marker string + ShowMerged *bool + When string + type Option struct + Comment string + Default any + Description string + Example string + GitKey string + IsArray bool + Section string + ValidValues []string + YAMLPath string + func GetOptionByGitKey(gitKey string) *Option + func GetOptionByYAMLPath(yamlPath string) *Option + func GetOptionsForSection(section string) []Option + type ProjectConfig struct + Branch BranchConfig + CI CIConfig + Hooks HooksConfig + MaxConcurrency *int + Merge MergeConfig + Navigation NavigationConfig + Split SplitConfig + Submit SubmitConfig + Trunk string + Trunks []string + Undo UndoConfig + Worktree WorktreeConfig + func LoadProjectConfig(repoRoot string) (*ProjectConfig, error) + func (c *ProjectConfig) GetMaxConcurrency() int + func (c *ProjectConfig) GetNavigationShowMerged() bool + func (c *ProjectConfig) GetSubmitDraft() bool + func (c *ProjectConfig) GetSubmitFooter() bool + func (c *ProjectConfig) GetWorktreeAutoClean() bool + func (c *ProjectConfig) HasBranchPattern() bool + func (c *ProjectConfig) HasCICommand() bool + func (c *ProjectConfig) HasCITimeout() bool + func (c *ProjectConfig) HasMaxConcurrency() bool + func (c *ProjectConfig) HasMergeMethod() bool + func (c *ProjectConfig) HasNavigationLocation() bool + func (c *ProjectConfig) HasNavigationMarker() bool + func (c *ProjectConfig) HasNavigationShowMerged() bool + func (c *ProjectConfig) HasNavigationWhen() bool + func (c *ProjectConfig) HasPostWorktreeCreateHooks() bool + func (c *ProjectConfig) HasSplitHunkSelector() bool + func (c *ProjectConfig) HasSubmitAssignees() bool + func (c *ProjectConfig) HasSubmitDraft() bool + func (c *ProjectConfig) HasSubmitFooter() bool + func (c *ProjectConfig) HasSubmitLabels() bool + func (c *ProjectConfig) HasSubmitReviewers() bool + func (c *ProjectConfig) HasSubmitWeb() bool + func (c *ProjectConfig) HasTrunk() bool + func (c *ProjectConfig) HasTrunks() bool + func (c *ProjectConfig) HasUndoDepth() bool + func (c *ProjectConfig) HasWorktreeAutoClean() bool + func (c *ProjectConfig) HasWorktreeBasePath() bool + func (c *ProjectConfig) Validate() error + type RepoConfig struct + ApprovedPostWorktreeCreateHooks []string + BranchNamePattern *string + CICommand *string + CITimeout *int + CombineCICommand *string + CombineCITimeout *int + IsGithubIntegrationEnabled *bool + MaxConcurrency *int + MergeMethod *string + SplitHunkSelector *string + SubmitFooter *bool + Trunk *string + Trunks []string + UndoStackDepth *int + WorktreeAutoClean *bool + WorktreeBasePath *string + func (c *RepoConfig) GetBranchPattern() BranchPattern + type Section struct + DocsTitle string + Name string + Title string + func GetSectionByName(name string) *Section + type SplitConfig struct + HunkSelector string + type SubmitConfig struct + Assignees []string + Draft *bool + Footer *bool + Labels []string + Reviewers []string + Web string + type UndoConfig struct + Depth int + type WorktreeConfig struct + AutoClean *bool + BasePath string