gitconfig

package
v1.3.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(key string, value string) error

Add git config --global --add <key> <value>

func Get

func Get(key string) (string, error)

Get git config --global --get <key>

func GetAll

func GetAll(key string) ([]string, error)

GetAll git config --global --get-all <key>

func GetRegexp

func GetRegexp(pattern string) (map[string]string, error)

GetRegexp git config --global --gex-regexp <pattern>

func ReplaceAll

func ReplaceAll(key string, value string) error

ReplaceAll git config --global --replace-all <key> <value>

func UnsetAll

func UnsetAll(key string) error

UnsetAll git config --global --unset-all <key>

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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