executes git clone
the remote repository to clone
local path to clone the repository into
additional arguments to pass to git clone
an object combining the child process that was spawned, and a promise that resolves to the string output to stdout.
executes git fetch
the local path to the git repository
additional arguments to pass to git fetch
an object combining the child process that was spawned, and a promise that resolves to the string output to stdout.
executes git pull
the local path to the git repository
additional arguments to pass to git pull
an object combining the child process that was spawned, and a promise that resolves to the string output to stdout.
executes git status
the local path to the git repository
additional arguments to pass to git status
an object combining the child process that was spawned, and a promise that resolves to information about the repository's status.
Generated using TypeDoc
Resolved value of the promise returned by git.status
{string} branch - The current branch
{string} comparison - Full text of the comparison from
git status
's output{string} status - The current status
{boolean} "BEHIND" - True if the current status === "BEHIND"
{boolean} "AHEAD" - True if the current status === "AHEAD"
{boolean} "UP_TO_DATE" - True if the current status === "UP_TO_DATE"
{boolean} "OUT_OF_SYNC" - True if the current status === "OUT_OF_SYNC"