Documentation ¶
Index ¶
- func Add(files []string) error
- func AreUncommitedChanges() (bool, error)
- func CheckoutBranch(branch string) error
- func Commit(message string) error
- func CurrentBranchName() (string, error)
- func GetChangedFiles() ([]string, error)
- func LocalBranches() ([]string, error)
- func Merge(branch, commitMessage string) error
- func SortByDate(commits []CommitModel)
- func Strip(str string) string
- func Tag(version string) error
- type CommitModel
- type PrintableCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommitModel ¶
CommitModel ...
func GetCommitsFrom ¶
func GetCommitsFrom(startCommitPtr *CommitModel) ([]CommitModel, error)
GetCommitsFrom ...
func VersionTaggedCommits ¶
func VersionTaggedCommits() ([]CommitModel, error)
VersionTaggedCommits ...
type PrintableCommand ¶
PrintableCommand ...
func NewPrintableCommand ¶
func NewPrintableCommand(commandParts ...string) PrintableCommand
NewPrintableCommand ...
func (PrintableCommand) Run ¶
func (printableCommand PrintableCommand) Run() (string, error)
Run ...
Click to show internal directories.
Click to hide internal directories.