Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

Latest commit

 

History

History
48 lines (32 loc) · 655 Bytes

README.md

File metadata and controls

48 lines (32 loc) · 655 Bytes

Autogit Command - Fetch

A command for fetching from a remote.

Install

npm install --save autogit-command-fetch

Usage

Options

This command uses the following options object:

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

Configuration

Add this command to your configuration:

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

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

CLI

Call it from the CLI with:

autogit fetch

License

MIT © Fabio Spampinato