git

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2019 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LastCommit added in v1.0.6

func LastCommit(short bool) (string, error)

LastCommit gets the last commit SHA

func LastCommitMessage added in v1.0.6

func LastCommitMessage() (string, error)

LastCommitMessage gets the last commit message

func Tag

func Tag(tag string) error

Tag calls git to create a new tag from a string

func Tagged added in v1.0.6

func Tagged() (bool, error)

Tagged returns true if the specified commit has been tagged

func Tags

func Tags() ([]string, error)

Tags returns the list of git tags as a string slice

Types

This section is empty.

Jump to

Keyboard shortcuts

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