git

package
v0.41.2 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActualBranchName

func ActualBranchName(path string) (string, error)

ActualBranchName returns the name of the actual git branch.

func GetLastCommitHash

func GetLastCommitHash(path string) (string, error)

GetLastCommitHash returns the hash of the last commit on the actual branch.

func PushTags added in v0.33.0

func PushTags(path, tag string) error

PushTags will execute a git push with tags.

func TagCommit

func TagCommit(path, tag string) error

TagCommit tags the last commit on the actual branch.

Types

This section is empty.

Jump to

Keyboard shortcuts

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