autogit-command-pull

A command for pulling from a remote.

Usage no npm install needed!

<script type="module">
  import autogitCommandPull from 'https://cdn.skypack.dev/autogit-command-pull';
</script>

README

Autogit Command - Pull

A command for pulling from a remote.

Install

npm install --save autogit-command-pull

Usage

Options

This command uses the following options object:

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

Configuration

Add this command to your configuration:

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

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

CLI

Call it from the CLI with:

autogit pull

License

MIT © Fabio Spampinato