Documentation
¶
Index ¶
- func Add(key string, value string) error
- func AddAlias(alias, author string) error
- func Get(key string) (string, error)
- func GetAll(key string) ([]string, error)
- func GetRegexp(pattern string) (map[string]string, error)
- func RemoveAlias(alias string) error
- func ReplaceAll(key string, value string) error
- func ResolveAlias(alias string) (string, error)
- func ResolveAliases(aliases []string) ([]string, []error)
- func SetCommitTemplate(path string) error
- func UnsetAll(key string) error
- func UnsetCommitTemplate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReplaceAll ¶
ReplaceAll git config --global --replace-all <key> <value>
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 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.