git

package
v0.32.1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 2 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 Push

func Push(path string) error

Push will execute a git push.

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