autogit-command-push
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Autogit Command - Push

A command for pushing to a remote.

Install

npm install --save autogit-command-push

Usage

Options

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
}

Configuration

Add this command to your configuration:

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

module.exports = {
  commands: {
    push: push ({ /* YOUR OPTIONS */ })
  }
}

CLI

Call it from the CLI with:

autogit push

License

MIT © Fabio Spampinato

/autogit-command-push/

    Package Sidebar

    Install

    npm i autogit-command-push

    Weekly Downloads

    2

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    5.12 kB

    Total Files

    8

    Last publish

    Collaborators

    • fabiospampinato