Skip to main content

undo

Function undo 

Source
pub fn undo(
    root: &Path,
    commit: &str,
    via: Via,
    state: &Path,
    options: &RunOptions,
) -> CommandResult
Expand description

speccoder new --undo: the project at root, undone — its folder to the Trash, or speccoder’s commit reverted — when commit is still the only thing that happened there.