gitconfig

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAlias

func AddAlias(alias, author string) error

AddAlias add a co-author for "team.alias.<alias>"

func GetAddedAliases

func GetAddedAliases() map[string]string

GetAddedAliases get all alias -> co-author mappings

func RemoveAlias

func RemoveAlias(alias string) error

RemoveAlias remove "team.alias.<alias>"

func RemoveCommitSection

func RemoveCommitSection() error

RemoveCommitSection remove your global config section "commit"

func ResolveAlias

func ResolveAlias(alias string) (string, error)

ResolveAlias lookup "team.alias.<alias>" globally

func SetCommitTemplate

func SetCommitTemplate(path string) error

SetCommitTemplate set "commit.template" globally

func UnsetCommitTemplate

func UnsetCommitTemplate() error

UnsetCommitTemplate unset your global "commit.template"

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL