Documentation ¶
Index ¶
- func Add(files []string, workingDir string) error
- func Checkout(branch, remoteBranch, workingDir string) error
- func Clone(username, password, URL, workingDir string) error
- func Commit(user, email, message, workingDir string) error
- func GetChangedFiles(workingDir string) ([]string, error)
- func IsSimilarBranch(a, b, workingDir string) (bool, error)
- func NewTag(tag, message, workingDir string) (bool, error)
- func Push(username string, password string, workingDir string, force bool) error
- func PushTag(tag string, username string, password string, workingDir string, force bool) error
- func SanitizeBranchName(branch string) string
- func Tags(workingDir string) (tags []string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetChangedFiles ¶
func IsSimilarBranch ¶
IsSimilarBranch checks that the last commits of the two branches are similar then return true if it's the case
func SanitizeBranchName ¶
SanitizeBranchName replace wrong character in the branch name
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.