rebase

package
v0.5.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	BaseURL, UploadURL string
}

func New

func New() *Action

func (*Action) AddFlags

func (c *Action) AddFlags(fs *flag.FlagSet)

func (*Action) ForcePushRebased

func (c *Action) ForcePushRebased(pre *Target) error

The rebase-via-github-api algorithm comes from https://github.com/tibdex/github-cherry-pick Thanks a lot for the original author!

func (*Action) Run

func (c *Action) Run() error

type Target

type Target struct {
	Owner, Repo string
	PullRequest *github.PullRequest
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL