Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUndoForFinishedProgram ¶
func CreateUndoForFinishedProgram(args CreateUndoProgramArgs) program.Program
creates the program for undoing a program that finished
func CreateUndoForRunningProgram ¶
func CreateUndoForRunningProgram(args CreateUndoProgramArgs) (program.Program, error)
create the program to undo a currently running Git Town command
Types ¶
type CreateUndoProgramArgs ¶
type CreateUndoProgramArgs struct { DryRun bool HasOpenChanges bool NoPushHook configdomain.NoPushHook Run *git.ProdRunner RunState runstate.RunState }
type ExecuteArgs ¶
type ExecuteArgs struct { FullConfig *configdomain.FullConfig HasOpenChanges bool InitialStashSize gitdomain.StashSize Lineage configdomain.Lineage RootDir gitdomain.RepoRootDir RunState runstate.RunState Runner *git.ProdRunner Verbose bool }
Directories ¶
Path | Synopsis |
---|---|
Package undobranches restores the Git branches to a known snapshot.
|
Package undobranches restores the Git branches to a known snapshot. |
package undoconfig undoes changes to the configuration settings stored as Git metadata.
|
package undoconfig undoes changes to the configuration settings stored as Git metadata. |
Package undostash restores changes to the Git stash.
|
Package undostash restores changes to the Git stash. |
Click to show internal directories.
Click to hide internal directories.