Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AmendCommit ¶
AmendCommit enables one to easily ammend a commit in the middle of a stack
of commits. A list of commits is printed and one can be chosen to be ammended.
func NewStackedPR ¶
NewStackedPR constructs and returns a new instance stackediff.
Types ¶
type Config ¶
type Config struct {
GitHubRepoOwner string `yaml:"githubRepoOwner"`
GitHubRepoName string `yaml:"githubRepoName"`
RequireChecks bool `yaml:"requireChecks"`
RequireApproval bool `yaml:"requireApproval"`
}
Config object to hold spr configuration
func ReadConfig ¶
func ReadConfig() *Config
ReadConfig looks for a .spr.yml file in the root git directory.
if found, the config is read and returned. if not found, a default config is created written to the config file and returned.
Click to show internal directories.
Click to hide internal directories.