Documentation ¶
Index ¶
- func GitAdd(w *git.Worktree, glob string) error
- func GitCommit(wt *git.Worktree, msg string, opt *git.CommitOptions) (plumbing.Hash, error)
- func GitCreateBranch(r git.Repository) error
- func GitCreateRemote(r git.Repository, cloneUrl string) (*git.Remote, error)
- func GitInit(path string) (*git.Repository, error)
- func GitPush(r *git.Remote, ctx context.Context, userName string, password string) error
- func GithubCreateRepository(client *github.Client, ctx context.Context, projName string) (*github.Repository, *github.Response, error)
- func InitClient(accessToken string) (*github.Client, context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GitCreateRemote ¶
git 'remote add' operation
func GithubCreateRepository ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.