A plugin for pushing to a remote.
npm install --save autogit-plugin-push
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
}
Add this plugin to a command:
const push = require ( 'autogit-plugin-push' );
module.exports = {
commands: {
'my-command': [
push ({ /* YOUR OPTIONS */ })
]
}
}
MIT © Fabio Spampinato