Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
DryRun bool
Verbose bool
SkipLockChanges bool
// Git options.
Workspace string
Owner string
Repo string
Branch string
CommitBranch *string
// PR options.
Title string
Body string
Token *string
Signature *object.Signature
Signoff bool
// Binding
Username string
Password string
}
func (*Builder) Commit ¶
func (b *Builder) Commit(r *git.Repository) (plumbing.ReferenceName, error)
Commit will commit changes to the local branch, and then optionally branch a new branch if set.
Click to show internal directories.
Click to hide internal directories.