Documentation
¶
Index ¶
- Constants
- type Branch
- type Branches
- type CheckoutDTO
- type Git
- func (g *Git) Checkout(dto CheckoutDTO) error
- func (g *Git) Clone(repoURL string, target string, dir string) error
- func (g *Git) DirectoryHasOrigin(dir string, origin string) (bool, error)
- func (g *Git) GetCurrentBranch(dir string) (string, error)
- func (g *Git) GetRepositoryRootFromPath(path string) (string, error)
- func (g *Git) Logl(dto LoglDTO) error
- func (g *Git) Pull(dto PullDTO) error
- func (g *Git) PullBranch(dto PullBranchDTO) error
- func (g *Git) Push(dto PushDTO) error
- func (g *Git) PushBranch(dto PushBranchDTO) error
- func (g *Git) RebaseInteractively(dto RebaseInteractivelyDTO) error
- func (g *Git) ShowBranches(dto SearchBranchesDTO) error
- func (g *Git) Status(dto StatusDTO) error
- func (g *Git) UndoLastXCommits(dto UndoLastXCommitsDTO) error
- type LoglDTO
- type PullBranchDTO
- type PullDTO
- type PushBranchDTO
- type PushDTO
- type RebaseInteractivelyDTO
- type SearchBranchesDTO
- type StatusDTO
- type UndoLastXCommitsDTO
Constants ¶
View Source
const ConfirmNo = "No"
View Source
const ConfirmYes = "Yes"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Branches ¶
type Branches []Branch
func (Branches) ExcludeCurrent ¶
func (Branches) GetCurrent ¶
func (Branches) StrictSearch ¶
type CheckoutDTO ¶
type Git ¶
type Git struct {
// contains filtered or unexported fields
}
func (*Git) Checkout ¶
func (g *Git) Checkout(dto CheckoutDTO) error
func (*Git) DirectoryHasOrigin ¶
func (*Git) GetRepositoryRootFromPath ¶
func (*Git) PullBranch ¶
func (g *Git) PullBranch(dto PullBranchDTO) error
func (*Git) PushBranch ¶ added in v0.15.0
func (g *Git) PushBranch(dto PushBranchDTO) error
func (*Git) RebaseInteractively ¶
func (g *Git) RebaseInteractively(dto RebaseInteractivelyDTO) error
func (*Git) ShowBranches ¶
func (g *Git) ShowBranches(dto SearchBranchesDTO) error
func (*Git) UndoLastXCommits ¶
func (g *Git) UndoLastXCommits(dto UndoLastXCommitsDTO) error
type PullBranchDTO ¶
type PushBranchDTO ¶ added in v0.15.0
type RebaseInteractivelyDTO ¶
type SearchBranchesDTO ¶
type UndoLastXCommitsDTO ¶
Click to show internal directories.
Click to hide internal directories.