Documentation ¶
Overview ¶
Package gitMobCommands contains methods ported from git-mob/src/git-mob-commands.js
Index ¶
- func AddCoAuthor(a authors.Author) error
- func AddCoAuthors(aa ...authors.Author) error
- func GetCoAuthors() ([]authors.Author, error)
- func GetGitAuthor() (*authors.Author, error)
- func IsCoAuthorsSet() bool
- func ResetMob() error
- func SetGitAuthor(a *authors.Author) error
- func SetGitAuthorGlobal(a *authors.Author) error
- func UseLocalTemplate() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCoAuthor ¶
func AddCoAuthors ¶
func GetCoAuthors ¶
GetCoAuthors gets the current list of co-authors from git config
func GetGitAuthor ¶
GetGitAuthor builds an authors.Author from the current configured user; returns an error if git config is missing user.name or user.email
func IsCoAuthorsSet ¶
func IsCoAuthorsSet() bool
func SetGitAuthor ¶
SetGitAuthor sets the primary git author locally from the given authors.Author
func SetGitAuthorGlobal ¶ added in v0.7.0
SetGitAuthorGlobal sets the primary git author globally from the given authors.Author
func UseLocalTemplate ¶
func UseLocalTemplate() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.