gitutils

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Verbose = false

Functions

func GitAdd

func GitAdd(dir string, files ...string) error

func GitCoBranch

func GitCoBranch(dir, branch string) error

func GitCoMaster

func GitCoMaster(dir string) error

func GitCommit

func GitCommit(dir, commitMsg string, files ...string) error

func GitCommitAndPush

func GitCommitAndPush(dir, tag string) error

func GitDelBranch

func GitDelBranch(dir, branch string) error

func GitHasTag

func GitHasTag(dir string, tag string) bool

func GitPom

func GitPom(dir string) error

func GitPush

func GitPush(remote, branch string) error

func GitTagAndPush

func GitTagAndPush(dir string, tag string) error

func InitGitBare

func InitGitBare(t *testing.T, dir string) string

func InitGitDir

func InitGitDir(t *testing.T, dir string) string

func InitGitDirWithRemote

func InitGitDirWithRemote(t *testing.T, baseDir string) string

func IsGitClean

func IsGitClean(dir string) bool

func PopulateGitDir

func PopulateGitDir(t *testing.T, dir string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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