git

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTag

func CreateTag(p projectid.Project, push bool) (string, error)

CreateTag writes a git tag for the project's current version and optionally pushes it.

func EnsureClean

func EnsureClean(dir string, checkPushed bool) error

EnsureClean verifies the working tree is clean and optionally that all commits are pushed.

func Run

func Run(dir string, args ...string) error

Run executes a git command within dir and surfaces stderr on failure.

Types

This section is empty.

Jump to

Keyboard shortcuts

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