git

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clone

func Clone(remote *url.URL, local string, shallow bool) error

Clone git repository

func GetAllConf

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

GetAllConf fetches git-config variable of multiple values.

func GetOneConf

func GetOneConf(key string) (string, error)

GetOneConf fetches single git-config variable. returns an empty string and no error if no variable is found with the given key.

func Update

func Update(local string) error

Update pulls changes from remote repository

Types

This section is empty.

Jump to

Keyboard shortcuts

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