Documentation ¶ Index ¶ func Commit(ctx context.Context, projectRoot, commitMsg string) error func Init(ctx context.Context, projectRoot string) error func InitAndPush(ctx context.Context, projectRoot, remoteURL, commitMsg string) error func Push(ctx context.Context, projectRoot, remoteURL, branch string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Commit ¶ func Commit(ctx context.Context, projectRoot, commitMsg string) error func Init ¶ func Init(ctx context.Context, projectRoot string) error func InitAndPush ¶ func InitAndPush(ctx context.Context, projectRoot, remoteURL, commitMsg string) error Calls all 3 of the helper functions. If we don't want this then we will need to change the function call in cli/root.go func Push ¶ func Push(ctx context.Context, projectRoot, remoteURL, branch string) error Types ¶ This section is empty. Source Files ¶ View all Source files git.go Click to show internal directories. Click to hide internal directories.