gittesting

package
v0.15.3 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GitAdd

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

GitAdd adds all files to stage.

func GitCheckoutBranch

func GitCheckoutBranch(t *testing.T, dir, name string)

GitCheckoutBranch allows us to change the active branch that we're using.

func GitCommit

func GitCommit(t *testing.T, dir, msg string)

GitCommit creates a git commits.

func GitInit

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

GitInit inits a new git project.

func GitRemoteAdd

func GitRemoteAdd(t *testing.T, dir, url string)

GitRemoteAdd adds the given url as remote.

func GitTag

func GitTag(t *testing.T, dir, tag string)

GitTag creates a git tag.

Types

This section is empty.

Jump to

Keyboard shortcuts

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