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

mod options;
pub use options::*;

pub const GIT_COMMAND: &str = "commit";

/// Record changes to the repository.
/// Create a new commit containing the current contents of the index and the given log message describing the changes.
/// The new commit is a direct child of HEAD, usually the tip of the current branch, and the branch is updated to point to it.
/// [Git doc](https://git-scm.com/docs/git-commit)
pub fn commit() -> WrapCommand {
    git(GIT_COMMAND)
}