Documentation
¶
Index ¶
- type Git
- func (g *Git) Checkout(branch string)
- func (g *Git) CleanDeletedBranches()
- func (g *Git) CreateBranch(branch string) error
- func (g *Git) CreateEmptyCommit()
- func (g *Git) CurrentBranch() string
- func (g *Git) DefaultBranch() string
- func (g *Git) Fetch()
- func (g *Git) GetGitRootDir() string
- func (g *Git) Pull()
- func (g *Git) PushBranch(branch string)
- func (g *Git) Remotes() []string
- func (g *Git) RepoName() string
- func (g *Git) Reset()
- func (g *Git) SetHeadRef(defaultBranch string)
- func (g *Git) Stash()
- func (g *Git) StashDrop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Git ¶
type Git struct { Debug bool Executor executor.ExecutorInterface }
func (*Git) CleanDeletedBranches ¶
func (g *Git) CleanDeletedBranches()
func (*Git) CreateBranch ¶
func (*Git) CreateEmptyCommit ¶
func (g *Git) CreateEmptyCommit()
func (*Git) CurrentBranch ¶
func (*Git) DefaultBranch ¶
func (*Git) GetGitRootDir ¶
func (*Git) PushBranch ¶
func (*Git) SetHeadRef ¶
Click to show internal directories.
Click to hide internal directories.