A command for pushing to a remote.
npm install --save autogit-command-push
This command 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 command to your configuration:
const push = require ( 'autogit-command-push' );
module.exports = {
commands: {
push: push ({ /* YOUR OPTIONS */ })
}
}
Call it from the CLI with:
autogit push
MIT © Fabio Spampinato