Documentation ¶
Index ¶
- func Checkout(branchName string) (string, error)
- func DeleteBranch(branchName string) (string, error)
- func DiffStat(destinationBranchName, sourceBranchName string) (string, error)
- func Difftool(destinationBranchName, sourceBranchName string) error
- func Fetch() (string, error)
- func GetBranchCommitComments(sourceBranchName string, destinationBranchName string) (string, error)
- func GetCurrentBranchName() (string, error)
- func GetOriginURL() (string, error)
- func GetStatus() (string, error)
- func IsBranchExists(branchName string) (bool, error)
- func Merge(branchName string) (string, error)
- func Pull() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteBranch ¶
DeleteBranch executes git branch command to delete a branch
func GetBranchCommitComments ¶
GetBranchCommitComments executes git log command to retrieve branch commit comments
func GetCurrentBranchName ¶
GetCurrentBranchName executes git symbolic-ref to retrieve current branch name
func GetOriginURL ¶
GetOriginURL executes git remote command to retrieve origin URL
func IsBranchExists ¶
IsBranchExists executes git show-branch to check if a branch exists
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.