1.0.2 • Published 5 years ago

autogit-plugin-fetch v1.0.2

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

Autogit Plugin - Fetch

A plugin for fetching from a remote.

Install

npm install --save autogit-plugin-fetch

Usage

Options

This plugin 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 plugin to a command:

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

module.exports = {
  commands: {
    'my-command': [
      fetch ({ /* YOUR OPTIONS */ })
    ]
  }
}

License

MIT © Fabio Spampinato