git

package
Version: v0.0.0-...-d7f1dd7 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(path string) error

Add adds path to commit list

func Commit

func Commit(message string) error

Commit commits with provided message

func CreateTag

func CreateTag(tag, message string) error

CreateTag creates tag

func DeleteTag

func DeleteTag(tag string) error

DeleteTag deletes local tag

func ExecCmd

func ExecCmd(name string, args ...string) (string, error)

ExecCmd executes command line command

func FetchRemoteTags

func FetchRemoteTags() error

FetchRemoteTags fetches remote tags

func GetLocalTags

func GetLocalTags() ([]string, error)

GetLocalTags returns tags from local repository

func Push

func Push(origin string) error

Push pushes changes to origin

func PushTags

func PushTags() error

PushTags pushes tags to origin

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL