gitwrap/rebase/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::wrap_command::WrapCommand;
use crate::git;

mod options;
pub use options::*;

pub const GIT_COMMAND: &str = "rebase";

/// Reapply commits on top of another base tip
/// [Git doc](https://git-scm.com/docs/git-rebase)
pub fn rebase(current_dir: Option<&str>) -> WrapCommand {
    git(GIT_COMMAND, current_dir)
}