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 NewTag(tag, message, workingDir string) (bool, error)
- func Push(username, password, workingDir string) error
- func PushTag(tag, username, password, workingDir string) 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 NewTag ¶ added in v0.3.0
NewTag create a tag then return a boolean to indicate if the tag was created or not.
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.