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
use crate::wrap_command::WrapCommand;
use crate::git;

mod options;
pub use options::*;

pub const GIT_COMMAND: &str = "init";

/// This command creates an empty Git repository - basically a .git directory with subdirectories for objects, refs/heads, refs/tags, and template files.
/// An initial branch without any commits will be created
/// [Git doc](https://git-scm.com/docs/git-init)
pub fn init() -> WrapCommand {
    git(GIT_COMMAND)
}