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