gitcmd

package
v0.0.0-...-f9a80a1 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2025 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAndPushTag

func CreateAndPushTag()

create a new tag and push it to the remote repository.

func GetLatestTag

func GetLatestTag() (string, error)

get the latest tag from the repository.

func GetRemotes

func GetRemotes()

func MergeIntoCurrent

func MergeIntoCurrent()

func PushAll

func PushAll()

func PushSelected

func PushSelected()

func Reset

func Reset()

func Status

func Status()

Types

type Commit

type Commit struct {
	Hash    string // Commit hash
	Message string // Commit message
	Date    string // Commit date
	Author  string // Commit author
	Email   string // Commit author email
}

Commit struct represents a commit record

type FileStatus

type FileStatus struct {
	Status string
	Path   string
}

Jump to

Keyboard shortcuts

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