gittest

package module
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: BSD-3-Clause Imports: 5 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommitAllFiles

func CommitAllFiles(t *testing.T, gitDir, commitMessage string)

func CommitRandomFile

func CommitRandomFile(t *testing.T, gitDir, commitMessage string)

func CreateBranch

func CreateBranch(t *testing.T, gitDir, branch string)

func CreateGitTag

func CreateGitTag(t *testing.T, gitDir, tagValue string)

func InitGitDir

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

func Merge

func Merge(t *testing.T, gitDir, branch string)

func RunGitCommand

func RunGitCommand(t *testing.T, gitDir string, args ...string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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