Documentation ¶
Overview ¶
Package git provides basic git client functionality
Index ¶
- func Checkout(repositoryPath, gitRef string) error
- func Clone(repositoryUrl string) (string, error)
- func Config(repositoryPath, configKey, configValue string) error
- func Exists(repositoryPath string) bool
- func Fetch(repositoryPath string) error
- func GenerateCloneURL(repositoryFullName string) string
- func GetEmail() string
- func GetName() string
- func GetRepositoryFilePath(name string) string
- func Prune(repositoryPath string) error
- func Push(repositoryPath, branch string) error
- func Rebase(repositoryPath, baseBranch string) error
- func Reset(repositoryPath, branch string) error
- type Output
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Clone ¶
Clone executes a git clone command on the system. It returns the path to the repository on the system.
func GenerateCloneURL ¶
func GetRepositoryFilePath ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.