1.0.3 • Published 5 years ago

autogit-plugin-push v1.0.3

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

Autogit Plugin - Push

A plugin for pushing to a remote.

Install

npm install --save autogit-plugin-push

Usage

Options

This plugin uses the following options object:

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

Configuration

Add this plugin to a command:

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

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

License

MIT © Fabio Spampinato