git

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommitAll added in v0.8.0

func CommitAll(commitMessage string) (string, error)

func CommitStaged added in v0.8.0

func CommitStaged(commitMessage string) (string, error)

func CreateBranch added in v0.9.0

func CreateBranch(branchName string) (string, error)

func CreateTag added in v0.9.0

func CreateTag(tagName string) (string, error)

func DeleteBranch added in v0.9.0

func DeleteBranch(selectedBranch string) (string, error)

func DeleteTag added in v0.9.0

func DeleteTag(tagName string) (string, error)

func FormatFancyRemotes added in v0.10.2

func FormatFancyRemotes(remotes string) string

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 GetNumRemotes added in v0.10.2

func GetNumRemotes() (int, string)

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 SwitchBranch added in v0.9.0

func SwitchBranch(selectedBranch string) (string, error)

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