1.0.4 • Published 5 years ago

autogit-command-fetch v1.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

Autogit Command - Fetch

A command for fetching from a remote.

Install

npm install --save autogit-command-fetch

Usage

Options

This command uses the following options object:

{
  remote: 'origin', // The remote to fetch from
  branch: '' // The branch to fetch from, if not set the current branch will be used
}

Configuration

Add this command to your configuration:

const fetch = require ( 'autogit-command-fetch' );

module.exports = {
  commands: {
    fetch: fetch ({ /* YOUR OPTIONS */ })
  }
}

CLI

Call it from the CLI with:

autogit fetch

License

MIT © Fabio Spampinato