Options for the git pull command.

interface Pull {
    branch?: string;
    rebase?: boolean;
    remote?: string;
}

Properties

branch?: string

The name of the branch to pull form. This is required when one performs a git pull from a remote which is not the default remote tracking of the currently active branch.

rebase?: boolean

When true, rebase the current branch on top of the upstream branch after fetching.

remote?: string

The name of the remote to pull from. If not given, then the default remote will be used. Defaults to the origin.