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 = "pull";

/// Incorporates changes from a remote repository into the current branch.
/// If the current branch is behind the remote, then by default it will fast-forward the current branch to match the remote.
/// If the current branch and the remote have diverged, the user needs to specify how to reconcile the divergent branches with --rebase or --no-rebase
/// [Git doc](https://git-scm.com/docs/git-pull)
pub fn pull() -> WrapCommand {
    git(GIT_COMMAND)
}