Versions in this module Expand all Collapse all v1 v1.6.11 Feb 20, 2018 v1.6.10 Jan 18, 2018 Changes in this version + var Stdout io.Writer = os.Stdout + type Git struct + func Clone(ctx context.Context, repo, path string) (*Git, error) + func Init(ctx context.Context, path string) (*Git, error) + func Open(path string) (*Git, error) + func (g *Git) Add(ctx context.Context, files ...string) error + func (g *Git) AddRemote(ctx context.Context, remote, url string) error + func (g *Git) Cmd(context.Context, string, ...string) error + func (g *Git) Commit(ctx context.Context, msg string) error + func (g *Git) HasStagedChanges(ctx context.Context) bool + func (g *Git) InitConfig(context.Context, string, string, string) error + func (g *Git) IsInitialized() bool + func (g *Git) Pull(ctx context.Context, remote, branch string) error + func (g *Git) Push(ctx context.Context, remote, branch string) error + func (g *Git) PushPull(ctx context.Context, op, remote, branch string) error + func (g *Git) Version(context.Context) semver.Version