git

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllTags

func GetAllTags() (string, error)

func GetAllTagsWithCommit

func GetAllTagsWithCommit() (string, error)

TODO: not yet used anywhere

func GetBranches

func GetBranches() ([]string, error)

func GetCurrentBranch

func GetCurrentBranch() (string, error)

func GetNLatestTags

func GetNLatestTags(n int) (string, error)

func GetRemotes added in v0.4.0

func GetRemotes() (string, string)

func GetRemotesClean added in v0.4.0

func GetRemotesClean() (string, string)

func GetStatusInfo

func GetStatusInfo() (map[string][]string, int, error)

func IsWorkingTreeClean

func IsWorkingTreeClean() (bool, error)

func RemoveRemote added in v0.4.0

func RemoveRemote(remote string) (string, string)

func UndoLastCommit

func UndoLastCommit() (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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