git

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// GitBinary defines the name of the git client's binary on the system
	GitBinary = "git"
)

Variables

This section is empty.

Functions

func ConfigGetURLMatch

func ConfigGetURLMatch(key, url string) string

ConfigGetURLMatch call 'git config --get-urlmatch' underneath

func GetCredentials

func GetCredentials(protocol, host, username string) (string, error)

func InstallProtocol

func InstallProtocol(protocol string)

func PassThruRemoteHTTPSHelper

func PassThruRemoteHTTPSHelper(remote, url string)

func SetGlobalConfig

func SetGlobalConfig(url, section, key, value string)

func StoreCredentials

func StoreCredentials(protocol, host, username, password string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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