Documentation
¶
Index ¶
- func AddAlias(alias, author string) error
- func GetAssignments() (map[string]string, error)
- func RemoveAlias(alias string) error
- func ResolveAlias(alias string) (string, error)
- func ResolveAliases(aliases []string) ([]string, []error)
- func SetCommitTemplate(path string) error
- func SetHooksPath(path string) error
- func UnsetCommitTemplate() error
- func UnsetHooksPath() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAssignments ¶
GetAssignments get all alias -> co-author mappings
func ResolveAlias ¶
ResolveAlias lookup "team.alias.<alias>" globally
func ResolveAliases ¶
ResolveAliases convenience function to resolve multiple aliases and accumulate errors
func SetCommitTemplate ¶
SetCommitTemplate set your global "commit.template" globally
func SetHooksPath ¶
SetHooksPath set your global "core.hooksPath"
func UnsetCommitTemplate ¶
func UnsetCommitTemplate() error
UnsetCommitTemplate unset your global "commit.template"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.