Closed jhnstn closed 11 months ago
This replaces the existing git functions with a client interface. This simplifies the cases where multiple git commands are used.
Example
// git package imported as `g` git := g.NewGitClient(directory, true) git.Clone(repo, "depth=1") git.Switch(branch, "--create") ... git.Push()
This replaces the existing git functions with a client interface. This simplifies the cases where multiple git commands are used.
Example