Versions in this module Expand all Collapse all v0 v0.7.0 Jan 26, 2026 v0.6.0 Jan 24, 2026 Changes in this version + type CIStatus struct + CheckSuites []CheckSuite + State string + Statuses []CheckStatus + TotalCount int + type CheckStatus struct + Context string + Description string + State string + TargetURL string + type CheckSuite struct + App string + Conclusion string + Status string + type Git struct + Dir string + Remote string + func New(dir string) *Git + func (g *Git) AllTags() ([]string, error) + func (g *Git) Commit(message string, sign bool) error + func (g *Git) CommitAll(message string, sign bool) error + func (g *Git) CreateTag(tag string, message string, sign bool) error + func (g *Git) CurrentBranch() (string, error) + func (g *Git) CurrentCommit() (string, error) + func (g *Git) DeleteTag(tag string) error + func (g *Git) Fetch() error + func (g *Git) FetchTags() error + func (g *Git) GetCIStatus(ref string) (*CIStatus, error) + func (g *Git) GetPRForBranch() (int, error) + func (g *Git) GetPRStatus(prNumber int) (*CIStatus, error) + func (g *Git) IsAncestor(ancestor, descendant string) (bool, error) + func (g *Git) IsCIPassing(ref string) (bool, error) + func (g *Git) IsDirty() (bool, error) + func (g *Git) LatestTag() (string, error) + func (g *Git) Log(from, to string, format string) (string, error) + func (g *Git) Push(refs ...string) error + func (g *Git) PushTag(tag string) error + func (g *Git) PushWithUpstream() error + func (g *Git) RemoteURL() (string, error) + func (g *Git) ShortCommit() (string, error) + func (g *Git) Status() (*Status, error) + func (g *Git) WaitForCI(timeout time.Duration) error + type Status struct + Ahead int + Behind int + Branch string + HasRemote bool + IsClean bool + Modified []string + RemoteBranch string + Staged []string + Untracked []string