git

package
v0.0.0-...-04edde6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Git

type Git struct {
	BinPath string
	// contains filtered or unexported fields
}

func New

func New() (*Git, error)

func (*Git) CreateAndPushBranch

func (g *Git) CreateAndPushBranch(name string) error

func (*Git) CreateAndPushTag

func (g *Git) CreateAndPushTag(name string) error

func (*Git) CreateBranch

func (g *Git) CreateBranch(name string) error

func (*Git) CreateTag

func (g *Git) CreateTag(name string) error

func (*Git) GetCurrentBranch

func (g *Git) GetCurrentBranch() (string, error)

func (*Git) HasChanges

func (g *Git) HasChanges() error

func (*Git) PushBranch

func (g *Git) PushBranch(name string) error

func (*Git) PushTag

func (g *Git) PushTag(name string) error

func (*Git) TagExists

func (g *Git) TagExists(tag string) error

Jump to

Keyboard shortcuts

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