Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Git ¶
type Git interface {
ValidateGitInstall() error
IsRepoClean() (bool, error)
GetRemote() (Remote, error)
GetRootDir() (string, error)
CommitFixup(commitHash string, add bool) (string, error)
CommitEmpty(msg string) error
GetMergedBranches(ref string) ([]string, error)
GetCurrentBranch() (string, error)
GetShortCommitHash(branch string) (string, error)
Push(branchName string, opts PushOpts) (string, error)
Rebase(branch string, opts RebaseOpts) (string, error)
CreateBranch(name string, startPoint string) error
DeleteBranchIfExists(name string) error
DeleteRemoteBranchIfExists(name string) error
Checkout(name string) error
LogAll(notReachableFrom string) (Log, error)
LogOneline(from string, to string) error
}
type RebaseOpts ¶
Click to show internal directories.
Click to hide internal directories.