git-stk 0.8.0

Git-native stacked branch workflow helper
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use anyhow::Result;

use crate::commands::Run;

/// Undo the last stack-rewriting command (restack, sync, merge, cleanup,
/// rename), restoring local branch tips and metadata.
#[derive(Debug, clap::Args)]
pub struct Undo {}

impl Run for Undo {
    fn run(self) -> Result<()> {
        crate::stack::undo()
    }
}