git

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotInRepo = fmt.Errorf("not in a git repository")
)

Functions

func RunGit

func RunGit(args ...string) (string, error)

Types

type Context

type Context struct {
	Owner  string
	Repo   string
	Branch string
	Remote string
	Root   string
}

func GetContext

func GetContext() (*Context, error)

Jump to

Keyboard shortcuts

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