gitconfig

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOpts

func GetOpts(optionSect string, optionKey string) (string, error)

GetOpts will parse local .git config for options

func GetOrigin

func GetOrigin() (string, error)

GetOrigin returns the remote origin of a repo in the CWD

func GitCmd

func GitCmd(c ...string) (string, error)

GitCmd runs the git command with a list of strings as arguments

Types

This section is empty.

Jump to

Keyboard shortcuts

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