Documentation
¶
Index ¶
- Variables
- func GetAddFiles(ignore ds.BuiltinSet[string]) ([]string, error)
- func GetFromStdio(hint string, simple bool, words ...string) string
- func GitAddAll() error
- func GitAddAndCommit(msg string) error
- func GitAddTag(tag string) error
- func GitAddWithConfirm(msg string) error
- func GitCheckConflict() error
- func GitCheckDirtyZone() error
- func GitCheckout(branch string, newBranch ...bool) error
- func GitCurrentBranch() (string, error)
- func GitMerge(branch string) error
- func GitPull(branch string) error
- func GitPullTags() error
- func GitPush(branch string, force ...bool) error
- func GitPushTag(tag string) error
- func GitSelectBranch(ctx *cli.Context, param string, hint string) (string, error)
- func GitStash(msg string) error
- func GitStashPop() error
- func GitTags() ([]string, error)
- func GitTryPullAndCheck() (string, error)
- func ListAllBranch() ([]string, error)
- func PullBranch(branch string) error
- func PullRemoteRepository() error
- func PushBranch(branch string) error
- func RunCmd(cmd string) error
- func RunCmdWithOutput(cmd string, printLog bool) (string, error)
- func RunInteractiveCmd(cmd string, args []string) error
- func SearchFile(cmd string) (string, error)
- func SimpleGetFromStdio(hint string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyBranchErr = errors.New("empty branch error")
View Source
var EmptyTagErr = errors.New("empty tag error")
Functions ¶
func GetAddFiles ¶
func GetAddFiles(ignore ds.BuiltinSet[string]) ([]string, error)
func GitAddAndCommit ¶
func GitAddWithConfirm ¶
func GitCheckConflict ¶
func GitCheckConflict() error
func GitCheckDirtyZone ¶
func GitCheckDirtyZone() error
func GitCheckout ¶
func GitCurrentBranch ¶
func GitPullTags ¶
func GitPullTags() error
func GitPushTag ¶
func GitSelectBranch ¶
func GitStashPop ¶
func GitStashPop() error
func GitTryPullAndCheck ¶
func ListAllBranch ¶
func PullBranch ¶
func PullRemoteRepository ¶
func PullRemoteRepository() error
func PushBranch ¶
func RunInteractiveCmd ¶
func SearchFile ¶
func SimpleGetFromStdio ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.