npm.io
1.0.3 • Published 7 years ago

autogit-plugin-push

Licence
MIT
Version
1.0.3
Deps
3
Size
11 kB
Vulns
6
Weekly
0
Stars
2

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

Keywords