gitwrap 0.11.0

GitWrap is a simple wrapper around `git` command
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::wrap_command::WrapCommand;
use crate::git;

mod options;
pub use options::*;

mod custom;
pub use custom::*;

pub const GIT_COMMAND: &str = "clone";

/// Clones a repository into a newly created directory,
/// creates remote-tracking branches for each branch in the cloned repository,
/// and creates and checks out an initial branch that is forked from the cloned repository’s currently active branch
/// [Git doc](https://git-scm.com/docs/git-clone)
pub fn clone() -> WrapCommand {
    git(GIT_COMMAND)
}